X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/1f0393876d891d0e32a995d0bf7259cc6505afdc..facf2b713da1038bbc960bb7e094bdb80213485e:/tools/helpers/arguments.py diff --git a/tools/helpers/arguments.py b/tools/helpers/arguments.py index 4c95287..9243eb7 100644 --- a/tools/helpers/arguments.py +++ b/tools/helpers/arguments.py @@ -21,9 +21,8 @@ def arguments_init(subparser): ret = subparser.add_parser("init", help="set up waydroid specific" " configs and install images") ret.add_argument("-i", "--images_path", - default=tools.config.defaults["images_path"], - help="custom path to waeiod images (default in" - " /home/.waydroid/images)") + help="custom path to waydroid images (default in" + " /var/lib/waydroid/images)") ret.add_argument("-f", "--force", action="store_true", help="re-initialize configs and images") ret.add_argument("-c", "--system_channel", @@ -66,7 +65,8 @@ def arguments_container(subparser): ret = subparser.add_parser("container", help="container controller") sub = ret.add_subparsers(title="subaction", dest="subaction") sub.add_parser("start", help="start container") - sub.add_parser("stop", help="start container") + sub.add_parser("stop", help="stop container") + sub.add_parser("restart", help="restart container") sub.add_parser("freeze", help="freeze container") sub.add_parser("unfreeze", help="unfreeze container") return ret