tools/qvm-shutdown: drop --force option, it isn't supported anymore
Admin API does not allow this action.
This commit is contained in:
parent
6f1c7c2b23
commit
5d0bd4f6dc
@ -15,7 +15,7 @@
|
|||||||
Synopsis
|
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
|
Options
|
||||||
-------
|
-------
|
||||||
@ -40,11 +40,6 @@ Options
|
|||||||
|
|
||||||
exclude the qube from :option:`--all`
|
exclude the qube from :option:`--all`
|
||||||
|
|
||||||
.. option:: --force
|
|
||||||
|
|
||||||
force operation, even if may damage other VMs (eg. shutdown of network
|
|
||||||
provider)
|
|
||||||
|
|
||||||
.. option:: --wait
|
.. option:: --wait
|
||||||
|
|
||||||
wait for the VMs to shut down
|
wait for the VMs to shut down
|
||||||
|
@ -40,11 +40,6 @@ import qubesadmin.exc
|
|||||||
parser = qubesadmin.tools.QubesArgumentParser(
|
parser = qubesadmin.tools.QubesArgumentParser(
|
||||||
description=__doc__, vmname_nargs='+')
|
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',
|
parser.add_argument('--wait',
|
||||||
action='store_true', default=False,
|
action='store_true', default=False,
|
||||||
help='wait for the VMs to shut down')
|
help='wait for the VMs to shut down')
|
||||||
|
Loading…
Reference in New Issue
Block a user