mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
systemctl: --kill-mode is long long gone, don't mention it in the man page
This commit is contained in:
parent
905826156d
commit
0088d63151
@ -664,9 +664,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>Send a signal to one or more processes of the
|
<para>Send a signal to one or more processes of the
|
||||||
unit. Use <option>--kill-who=</option> to select which
|
unit. Use <option>--kill-who=</option> to select which
|
||||||
process to kill. Use <option>--kill-mode=</option> to select
|
process to kill. Use <option>--signal=</option> to select
|
||||||
the kill mode and <option>--signal=</option> to select the
|
the signal to send.</para>
|
||||||
signal to send.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -74,7 +74,7 @@ _systemctl () {
|
|||||||
[STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full -l --global
|
[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
|
--help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall
|
||||||
--quiet -q --privileged -P --system --user --version --runtime'
|
--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
|
if __contains_word "--user" ${COMP_WORDS[*]}; then
|
||||||
@ -99,9 +99,6 @@ _systemctl () {
|
|||||||
--kill-who)
|
--kill-who)
|
||||||
comps='all control main'
|
comps='all control main'
|
||||||
;;
|
;;
|
||||||
--kill-mode)
|
|
||||||
comps='control-group process'
|
|
||||||
;;
|
|
||||||
--root)
|
--root)
|
||||||
comps=$(compgen -A directory -- "$cur" )
|
comps=$(compgen -A directory -- "$cur" )
|
||||||
compopt -o filenames
|
compopt -o filenames
|
||||||
|
Loading…
Reference in New Issue
Block a user