MCPcopy
hub / github.com/httpie/cli / check_options

Method check_options

httpie/cli/argparser.py:499–502  ·  view source on GitHub ↗
(value, option)

Source from the content-addressed store, hash-verified

497 """
498
499 def check_options(value, option):
500 unknown = set(value) - OUTPUT_OPTIONS
501 if unknown:
502 self.error(f'Unknown output options: {option}={",".join(unknown)}')
503
504 if self.args.verbose:
505 self.args.all = True

Callers

nothing calls this directly

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected