Skip to content

Commit 38c79ef

Browse files
committed
Merge remote-tracking branch 'origin/pr/451'
* origin/pr/451: Update docstring to better reflect diffeence between qvm-kill and qvm-shutdown --force Pull request description: Meant to address the first half of QubesOS/qubes-issues#10726 (note: after reading QubesOS/qubes-issues#10650 (comment) it seems that the above-mentioned issue is actually not about manpages but about the qubes-docs - still I believe this is helpful)
2 parents 5f63c4b + db7beae commit 38c79ef

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

qubesadmin/tools/qvm_kill.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@
1818
# You should have received a copy of the GNU Lesser General Public License along
1919
# with this program; if not, see <http://www.gnu.org/licenses/>.
2020

21-
'''qvm-kill - forceful shutdown'''
21+
'''Immediately terminate a qube without a graceful shutdown sequence.'''
2222

2323

2424
import sys
2525
import qubesadmin.exc
2626
import qubesadmin.tools
2727

2828
parser = qubesadmin.tools.QubesArgumentParser(
29-
description='forceful shutdown of a domain', vmname_nargs='+')
29+
description='immediately terminate a qube without a graceful shutdown'
30+
' sequence',
31+
vmname_nargs='+')
3032

3133
def main(args=None, app=None):
3234
'''Main routine of :program:`qvm-kill`.

qubesadmin/tools/qvm_shutdown.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
parser.add_argument(
4949
'--force',
5050
action='store_true', default=False,
51-
help='force shutdown regardless of connected domains; use with caution')
51+
help='shut down even if other qubes depend on this one (e.g. as NetVM'
52+
' or AudioVM); does not affect how the qube itself is shut down;'
53+
' use with caution')
5254

5355
parser.add_argument(
5456
'--dry-run',

0 commit comments

Comments
 (0)