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
Some Unix commands have longer parameter names which just start with a single dash, e.g. -Ssendwait. argparse can handle these parameters but I'm unable to do this with docopt-ng:
#!/usr/bin/env python3"""Usage: foo [options]Options: -Ssendwait wait until request was sent -Snosendwait return immediately"""fromdocoptimportdocoptarguments=docopt(__doc__)
print(arguments)
Some Unix commands have longer parameter names which just start with a single dash, e.g.
-Ssendwait
. argparse can handle these parameters but I'm unable to do this with docopt-ng:The text was updated successfully, but these errors were encountered: