Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit d23ed90

Browse files
committed
cleanup of usage and getops values - now consistent
1 parent 142a01b commit d23ed90

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

cli4/cli4.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,10 @@ def do_it(args):
381381
method = 'GET'
382382

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

396397
try:
397398
opts, args = getopt.getopt(args,
398-
'VhvqejynirdA:bp:GPOUD',
399+
'VhveqjynirdA:bp:GPOUD',
399400
[
400-
'version',
401-
'help', 'verbose', 'quiet', 'examples', 'json', 'yaml', 'ndjson', 'image',
401+
'version', 'help', 'verbose',
402+
'examples',
403+
'quiet',
404+
'json', 'yaml', 'ndjson', 'image',
402405
'raw',
403-
'dump', 'openapi=',
406+
'dump',
407+
'openapi=',
404408
'binary',
405409
'profile=',
406410
'get', 'patch', 'post', 'put', 'delete'

0 commit comments

Comments
 (0)