code: def options_string_builder(option_mapping, args):
      
      options_string = ""
      for option, flag in option_mapping.items():
          if option in args:
              options_string += str(" %s %s" % (flag, str(args[option])))
      return options_string
docs: Return arguments for CLI invocation of kal.