code: def get_name_arg(argd, *argnames, default=None):
      
      val = None
      for argname in argnames:
          if argd[argname]:
              val = argd[argname].lower().strip()
              break
      return val if val else default
docs: Return the first argument value given in a docopt arg dict.
          When not given, return default.