code: def get_arg_name(self, param):
          
          if self.current_command in self.cmdtab:
              for arg in self.cmdtab[self.current_command].arguments:
  
                  for name in self.cmdtab[self.current_command].arguments[arg].options_list:
                      if name == param:
                          return arg
          return None
docs: gets the argument name used in the command table for a parameter