Update option name to comply with standard

This commit is contained in:
linarphy 2023-06-26 10:38:42 +02:00
parent 26bccd778f
commit 692d2aa103
No known key found for this signature in database
GPG key ID: 3D4AAAC3AD16E79C
2 changed files with 8 additions and 8 deletions

8
ETA.py
View file

@ -21,9 +21,9 @@ while i < len( argv ):
if arg[1] != '-':
if arg == '-h':
arg = '--help'
elif arg == '-v':
elif arg == '-V':
arg = '--version'
elif arg == '-l':
elif arg == '-v':
arg = '--verbose'
elif arg == '-n':
arg == '--no-cache'
@ -56,8 +56,8 @@ while i < len( argv ):
\n -h --help show this help and quit\
\n -n --no-cache do not use cache and rewrite it\
\n -o --output output file, default to standard output\
\n -v --version show version number and quit\
\n -l --verbose show more information to help debugging\
\n -V --version show version number and quit\
\n -v --verbose show more information to help debugging\
\n\
\nParse a naroo ETA fits' )
exit()

View file

@ -22,9 +22,9 @@ while i < len( argv ):
if arg[1] != '-':
if arg == '-h':
arg = '--help'
elif arg == '-v':
elif arg == '-V':
arg = '--version'
elif arg == '-l':
elif arg == '-v':
arg = '--verbose'
elif arg == '-n':
arg == '--no-cache'
@ -65,8 +65,8 @@ while i < len( argv ):
\n -h --help show this help and quit\
\n -n --no-cache do not use cache and rewrite it\
\n -o --output output file, default to standard output\
\n -v --version show version number and quit\
\n -l --verbose show more information to help debugging\
\n -V --version show version number and quit\
\n -v --verbose show more information to help debugging\
\n\
\nParse a naroo ETA fits' )
exit()