You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/env python3
"""
Usage:
test.py [-h|--help] [-b|--bbbbb] (-r <rvalue>) [-o <ovalue>] [-l <lvalues>...]
options:
-h,--help show this help message and exit
-b,--bbbbb b option (optional)
-r <r_value> r value (required)
-o <o_value> o value (optional) [default: 1.0]
-l <l_values> l values (optional)
"""
print('point1')
from docopt import docopt
args = docopt(__doc__)
print('point2')
print(args)
$ ./test.py -r xxx
point1
usage:
test.py [-h|--help] [-b|--bbbbb] (-r <r_value>) [-o <o_value>] [-l <l_values>...]
options:
-h,--help show this help message and exit
-b,--bbbbb b option (optional)
-r <r_value> r value (required)
-o <o_value> o value (optional) [default: 1.0]
-l <l_values> l values (optional)
Wny does this script stop at args = docopt(__doc__)?
The text was updated successfully, but these errors were encountered:
I changed the setting. However, it still stops. I cannot find the reason.
"""
Usage:
test.py [-h|--help] [-b|--bbbbb] (-r <rvalue>) [-o <ovalue>] [-l <lvalue>]
options:
-h,--help show this help message and exit
-b,--bbbbb b option (optional)
-r <rvalue> r value (required)
-o <ovalue> o value (optional) [default: 1.0]
-l <lvalue> l values (optional)
"""
python=3.10,6, docopt==0.6.2
[test.py]
Wny does this script stop at
args = docopt(__doc__)
?The text was updated successfully, but these errors were encountered: