diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-29 19:18:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-07-29 19:22:22 +0200 |
commit | 5238d9a83a52c64e24856b0d3b2ca0b0ee52479a (patch) | |
tree | ee2df5003bfb4c1abacd99cfebe5b1e226f41abc /man/systemd-analyze.xml | |
parent | 563067ad265f4704395165177fb5b83bc9628c66 (diff) | |
download | systemd-5238d9a83a52c64e24856b0d3b2ca0b0ee52479a.tar.gz |
analyze: rename "exit-codes" to "exit-status"
waitid(2) and the libc function signature calls this "exit status", and
uses "exit code" for something different. Let's stick to the same
nomenclature hence.
Diffstat (limited to 'man/systemd-analyze.xml')
-rw-r--r-- | man/systemd-analyze.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 8e9f24caac..7e842ac201 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -86,8 +86,8 @@ <cmdsynopsis> <command>systemd-analyze</command> <arg choice="opt" rep="repeat">OPTIONS</arg> - <arg choice="plain">exit-codes</arg> - <arg choice="opt" rep="repeat"><replaceable>CODE</replaceable></arg> + <arg choice="plain">exit-status</arg> + <arg choice="opt" rep="repeat"><replaceable>STATUS</replaceable></arg> </cmdsynopsis> <cmdsynopsis> <command>systemd-analyze</command> @@ -372,25 +372,25 @@ $ eog targets.svg</programlisting> </refsect2> <refsect2> - <title><command>systemd-analyze exit-codes <optional><replaceable>CODE</replaceable>...</optional></command></title> + <title><command>systemd-analyze exit-status <optional><replaceable>STATUS</replaceable>...</optional></command></title> - <para>This command prints a list of exit codes along with their "class", i.e. the source of the + <para>This command prints a list of exit statuses along with their "class", i.e. the source of the definition (one of <literal>glibc</literal>, <literal>systemd</literal>, <literal>LSB</literal>, or <literal>BSD</literal>), see the Process Exit Codes section in <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>. - If no additional arguments are specified, all known codes are are shown. Otherwise, only the + If no additional arguments are specified, all known statuses are are shown. Otherwise, only the definitions for the specified codes are shown.</para> <example> - <title><command>Show some example exit code names</command></title> - - <programlisting>$ systemd-analyze exit-codes 0 1 {63..65} -NAME CODE CLASS -SUCCESS 0 glibc -FAILURE 1 glibc -- 63 - -USAGE 64 BSD -DATAERR 65 BSD + <title><command>Show some example exit status names</command></title> + + <programlisting>$ systemd-analyze exit-status 0 1 {63..65} +NAME STATUS CLASS +SUCCESS 0 glibc +FAILURE 1 glibc +- 63 - +USAGE 64 BSD +DATAERR 65 BSD </programlisting> </example> </refsect2> |