diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-25 00:31:48 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-04-07 13:30:53 -0400 |
commit | 3c993d002a52d9f6f7b919f094b6f979092bc76a (patch) | |
tree | f9a935b86c320a73870f9a4d5f726e06e15a03cc | |
parent | e3641a55147a3ecbfd068d8639ecbc1a3951c956 (diff) |
systemctl: --kill-mode is long long gone, don't mention it in the man page
(cherry picked from commit 0088d63151e088d62104d88f866e9eb049091c22)
(cherry picked from commit 12a170a49538c7e28daa18a23800067e6a5e1f93)
-rw-r--r-- | man/systemctl.xml | 5 | ||||
-rw-r--r-- | shell-completion/bash/systemctl | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 171a9bfae..816586c39 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -671,9 +671,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 a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl index a5f10b4f1..857552d57 100644 --- a/shell-completion/bash/systemctl +++ b/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 |