54 lines
2.4 KiB
Diff
54 lines
2.4 KiB
Diff
From 0088d63151e088d62104d88f866e9eb049091c22 Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Tue, 25 Mar 2014 00:31:48 +0100
|
|
Subject: [PATCH] systemctl: --kill-mode is long long gone, don't mention it
|
|
in the man page
|
|
|
|
---
|
|
man/systemctl.xml | 5 ++---
|
|
shell-completion/bash/systemctl | 5 +----
|
|
2 files changed, 3 insertions(+), 7 deletions(-)
|
|
|
|
diff --git man/systemctl.xml man/systemctl.xml
|
|
index 77447dd..b4727d9 100644
|
|
--- man/systemctl.xml
|
|
+++ man/systemctl.xml
|
|
@@ -664,9 +664,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
|
|
<listitem>
|
|
<para>Send a signal to one or more processes of the
|
|
unit. Use <option>--kill-who=</option> to select which
|
|
- process to kill. Use <option>--kill-mode=</option> to select
|
|
- the kill mode and <option>--signal=</option> to select the
|
|
- signal to send.</para>
|
|
+ process to kill. Use <option>--signal=</option> to select
|
|
+ the signal to send.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
diff --git shell-completion/bash/systemctl shell-completion/bash/systemctl
|
|
index dc7ef66..0dfc868 100644
|
|
--- shell-completion/bash/systemctl
|
|
+++ shell-completion/bash/systemctl
|
|
@@ -74,7 +74,7 @@ _systemctl () {
|
|
[STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full -l --global
|
|
--help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall
|
|
--quiet -q --privileged -P --system --user --version --runtime'
|
|
- [ARG]='--host -H --kill-mode --kill-who --property -p --signal -s --type -t --state --root'
|
|
+ [ARG]='--host -H --kill-who --property -p --signal -s --type -t --state --root'
|
|
)
|
|
|
|
if __contains_word "--user" ${COMP_WORDS[*]}; then
|
|
@@ -99,9 +99,6 @@ _systemctl () {
|
|
--kill-who)
|
|
comps='all control main'
|
|
;;
|
|
- --kill-mode)
|
|
- comps='control-group process'
|
|
- ;;
|
|
--root)
|
|
comps=$(compgen -A directory -- "$cur" )
|
|
compopt -o filenames
|
|
--
|
|
1.7.9.2
|
|
|