Browse Source

tools/qvm-shutdown: drop --force option, it isn't supported anymore

Admin API does not allow this action.
Marek Marczykowski-Górecki 6 years ago
parent
commit
5d0bd4f6dc
2 changed files with 1 additions and 11 deletions
  1. 1 6
      doc/manpages/qvm-shutdown.rst
  2. 0 5
      qubesadmin/tools/qvm_shutdown.py

+ 1 - 6
doc/manpages/qvm-shutdown.rst

@@ -15,7 +15,7 @@
 Synopsis
 --------
 
-:command:`qvm-shutdown` [-h] [--verbose] [--quiet] [--all] [--exclude *EXCLUDE*] [--force] [--wait] [--timeout *TIMEOUT*] [*VMNAME*]
+:command:`qvm-shutdown` [-h] [--verbose] [--quiet] [--all] [--exclude *EXCLUDE*] [--wait] [--timeout *TIMEOUT*] [*VMNAME*]
 
 Options
 -------
@@ -40,11 +40,6 @@ Options
 
    exclude the qube from :option:`--all`
 
-.. option:: --force
-
-   force operation, even if may damage other VMs (eg. shutdown of network
-   provider)
-
 .. option:: --wait
 
    wait for the VMs to shut down

+ 0 - 5
qubesadmin/tools/qvm_shutdown.py

@@ -40,11 +40,6 @@ import qubesadmin.exc
 parser = qubesadmin.tools.QubesArgumentParser(
     description=__doc__, vmname_nargs='+')
 
-parser.add_argument('--force',
-    action='store_true', default=False,
-    help='force operation, even if may damage other VMs (eg. shutdown of'
-        ' network provider)')
-
 parser.add_argument('--wait',
     action='store_true', default=False,
     help='wait for the VMs to shut down')