X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/a2804841ed52f812b1d666cb3df01239ee906f5f..094a4d970ccefa2e6409c8147c1edbdaaa74df0f:/tools/helpers/arguments.py?ds=sidebyside diff --git a/tools/helpers/arguments.py b/tools/helpers/arguments.py index 953c1b5..5f1893e 100644 --- a/tools/helpers/arguments.py +++ b/tools/helpers/arguments.py @@ -33,8 +33,6 @@ def arguments_init(subparser): help="rom type (options: \"lineage\", \"bliss\" or OTA channel URL; default is LineageOS)") ret.add_argument("-s", "--system_type", help="system type (options: VANILLA, FOSS or GAPPS; default is VANILLA)") - ret.add_argument("-g", "--gui", action="store_true", - help="run as a graphical interface") return ret def arguments_status(subparser): @@ -60,7 +58,7 @@ def arguments_session(subparser): ret = subparser.add_parser("session", help="session controller") sub = ret.add_subparsers(title="subaction", dest="subaction") sub.add_parser("start", help="start session") - sub.add_parser("stop", help="start session") + sub.add_parser("stop", help="stop session") return ret def arguments_container(subparser): @@ -112,7 +110,7 @@ def arguments_firstLaunch(subparser): def arguments_shell(subparser): ret = subparser.add_parser("shell", help="run remote shell command") - ret.add_argument('COMMAND', nargs='?', help="command to run") + ret.add_argument('COMMAND', nargs='*', help="command to run") return ret def arguments_logcat(subparser):