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
Options/arguments for the CLI in pyHDLC are declared using pyAttributes. Option -n|--noexec is defined for Run as it is expected to be available for all (sub)commands. However, it does not work if placed after them. That is, the following does work:
Options/arguments for the CLI in pyHDLC are declared using pyAttributes. Option
-n|--noexec
is defined forRun
as it is expected to be available for all (sub)commands. However, it does not work if placed after them. That is, the following does work:but the following fails:
# ./pyHDLC/cli.py build -n sim usage: cli.py [-n] [-p] [-d] {help,build,push,pull} ... cli.py: error: unrecognized arguments: -n
It would be desirable if
-n
was inherited bybuild
and both orders were accepted.The text was updated successfully, but these errors were encountered: