docs: def do_alarm_history(mc, args):
      '''Alarm state transition history.'''
      fields = {}
      fields['alarm_id'] = args.id
      if args.limit:
          fields['limit'] = args.limit
      if args.offset:
          fields['offset'] = args.offset
      try:
          alarm = mc.alarms.history(**fields)
      except (osc_exc.ClientException, k_exc.HttpError) as he:
          raise osc_exc.CommandError('%s\n%s' % (he.message, he.details))
      else:
          output_alarm_history(args, alarm)