diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-13 15:55:10 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-14 15:59:09 +0100 |
commit | 86beb21302082e9df0aa8576b89fd29c9e1a43be (patch) | |
tree | 3b2a7fce94d144978236b919fe12f311c383872b /man | |
parent | 76e5e267fcf4d5c8d1470769b97ad75a7c67394b (diff) | |
download | systemd-86beb21302082e9df0aa8576b89fd29c9e1a43be.tar.gz |
systemctl,loginctl,machinectl: use a shared helper for arg_signal
I seems frivolous to yet another two -util.[ch] files, but the helper
should be in shared/ and it doesn't seem to fit anywhere else.
Diffstat (limited to 'man')
-rw-r--r-- | man/machinectl.xml | 12 | ||||
-rw-r--r-- | man/standard-options.xml | 15 | ||||
-rw-r--r-- | man/systemctl.xml | 14 |
3 files changed, 17 insertions, 24 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml index 9026849559..556fe309dc 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -699,17 +699,7 @@ <option>all</option>.</para></listitem> </varlistentry> - <varlistentry> - <term><option>-s</option></term> - <term><option>--signal=</option></term> - - <listitem><para>When used with <command>kill</command>, choose - which signal to send to selected processes. Must be one of the - well-known signal specifiers, such as - <constant>SIGTERM</constant>, <constant>SIGINT</constant> or - <constant>SIGSTOP</constant>. If omitted, defaults to - <constant>SIGTERM</constant>.</para></listitem> - </varlistentry> + <xi:include href="standard-options.xml" xpointer="signal" /> <varlistentry> <term><option>--uid=</option></term> diff --git a/man/standard-options.xml b/man/standard-options.xml index 8ba5b09df8..848439119e 100644 --- a/man/standard-options.xml +++ b/man/standard-options.xml @@ -61,4 +61,19 @@ (for a pretty version of the same, with indentation and line breaks) or <literal>off</literal> (to turn off JSON output, the default).</para></listitem> </varlistentry> + + <varlistentry id='signal'> + <term><option>-s</option></term> + <term><option>--signal=</option></term> + + <listitem> + <para>When used with <command>kill</command>, choose which signal to send to selected processes. Must + be one of the well-known signal specifiers such as <constant>SIGTERM</constant>, + <constant>SIGINT</constant> or <constant>SIGSTOP</constant>. If omitted, defaults to + <option>SIGTERM</option>.</para> + + <para>The special value <literal>help</literal> will list the known values and the program will exit + immediately.</para> + </listitem> + </varlistentry> </variablelist> diff --git a/man/systemctl.xml b/man/systemctl.xml index db4e2b2c65..2ed58eb33b 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -2067,21 +2067,9 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err is defined. If omitted, defaults to <option>all</option>.</para> </listitem> - </varlistentry> - <varlistentry> - <term><option>-s</option></term> - <term><option>--signal=</option></term> - - <listitem> - <para>When used with <command>kill</command>, choose which - signal to send to selected processes. Must be one of the - well-known signal specifiers such as <constant>SIGTERM</constant>, <constant>SIGINT</constant> or - <constant>SIGSTOP</constant>. If omitted, defaults to - <option>SIGTERM</option>.</para> - </listitem> - </varlistentry> + <xi:include href="standard-options.xml" xpointer="signal" /> <varlistentry> <term><option>--what=</option></term> |