Skip to content

Commit

Permalink
cleanup of usage and getops values - now consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Nov 25, 2023
1 parent 142a01b commit d23ed90
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions cli4/cli4.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,10 @@ def do_it(args):
method = 'GET'

usage = ('usage: cli4 '
+ '[-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet] '
+ '[-V|--version] [-h|--help] [-v|--verbose] '
+ '[-e|--examples] '
+ '[-j|--json] [-y|--yaml] [-n|--ndjson] [-i|--image]'
+ '[-q|--quiet] '
+ '[-j|--json] [-y|--yaml] [-n|--ndjson] [-i|--image] '
+ '[-r|--raw] '
+ '[-d|--dump] '
+ '[-A|--openapi url] '
Expand All @@ -395,12 +396,15 @@ def do_it(args):

try:
opts, args = getopt.getopt(args,
'VhvqejynirdA:bp:GPOUD',
'VhveqjynirdA:bp:GPOUD',
[
'version',
'help', 'verbose', 'quiet', 'examples', 'json', 'yaml', 'ndjson', 'image',
'version', 'help', 'verbose',
'examples',
'quiet',
'json', 'yaml', 'ndjson', 'image',
'raw',
'dump', 'openapi=',
'dump',
'openapi=',
'binary',
'profile=',
'get', 'patch', 'post', 'put', 'delete'
Expand Down

0 comments on commit d23ed90

Please sign in to comment.