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

Admin API does not allow this action.
This commit is contained in:
Marek Marczykowski-Górecki 2017-07-27 19:03:39 +02:00
parent 6f1c7c2b23
commit 5d0bd4f6dc
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 1 additions and 11 deletions

View File

@ -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

View File

@ -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')