]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/helpers/arguments.py
Add -w flag for waiting for init
[waydroid.git] / tools / helpers / arguments.py
index ec4ef7c0efb1c76a99e24494d6ce3cea52bf3cbc..f686032b5726eace8ae9153366bcaf1ea0599c49 100644 (file)
@@ -22,7 +22,7 @@ def arguments_init(subparser):
                                " configs and install images")
     ret.add_argument("-i", "--images_path",
                         help="custom path to waydroid images (default in"
-                             " /home/.waydroid/images)")
+                             " /var/lib/waydroid/images)")
     ret.add_argument("-f", "--force", action="store_true",
                      help="re-initialize configs and images")
     ret.add_argument("-c", "--system_channel",
@@ -65,7 +65,7 @@ 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")
@@ -129,6 +129,8 @@ def arguments():
                         " logfiles (this may reduce performance)")
     parser.add_argument("-q", "--quiet", dest="quiet", action="store_true",
                         help="do not output any log messages")
+    parser.add_argument("-w", "--wait", dest="wait_for_init", action="store_true",
+                        help="wait for init before running")
 
     # Actions
     sub = parser.add_subparsers(title="action", dest="action")