diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-10-08 17:58:44 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-10-08 18:21:26 +0200 |
commit | e1fac8a68a0d1fe01edf47e149afb3f232bd75b6 (patch) | |
tree | 1e9913853ee27392dba74ffb491a96cc8c18d5e5 /man/networkctl.xml | |
parent | 69d0eb4475821d52ff13e6d56eb0937c87ebd605 (diff) | |
download | systemd-e1fac8a68a0d1fe01edf47e149afb3f232bd75b6.tar.gz |
Move the Commands section above Options section
For executables which take a verb, we should list the verbs first, and
then options which modify those verbs second. The general layout of
the man page is from general description to specific details, usually
Overview, Commands, Options, Return Value, Examples, References.
Diffstat (limited to 'man/networkctl.xml')
-rw-r--r-- | man/networkctl.xml | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml index 842702fa33..14277a75f0 100644 --- a/man/networkctl.xml +++ b/man/networkctl.xml @@ -42,42 +42,6 @@ </refsect1> <refsect1> - <title>Options</title> - - <para>The following options are understood:</para> - - <variablelist> - <varlistentry> - <term> - <option>-a</option> - <option>--all</option> - </term> - - <listitem> - <para>Show all links with <command>status</command>.</para> - </listitem> - </varlistentry> - - <varlistentry> - <term> - <option>-s</option> - <option>--stats</option> - </term> - - <listitem> - <para>Show link statistics with <command>status</command>.</para> - </listitem> - </varlistentry> - - <xi:include href="standard-options.xml" xpointer="help" /> - <xi:include href="standard-options.xml" xpointer="version" /> - <xi:include href="standard-options.xml" xpointer="no-legend" /> - <xi:include href="standard-options.xml" xpointer="no-pager" /> - - </variablelist> - </refsect1> - - <refsect1> <title>Commands</title> <para>The following commands are understood:</para> @@ -301,6 +265,42 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) </refsect1> <refsect1> + <title>Options</title> + + <para>The following options are understood:</para> + + <variablelist> + <varlistentry> + <term> + <option>-a</option> + <option>--all</option> + </term> + + <listitem> + <para>Show all links with <command>status</command>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <option>-s</option> + <option>--stats</option> + </term> + + <listitem> + <para>Show link statistics with <command>status</command>.</para> + </listitem> + </varlistentry> + + <xi:include href="standard-options.xml" xpointer="help" /> + <xi:include href="standard-options.xml" xpointer="version" /> + <xi:include href="standard-options.xml" xpointer="no-legend" /> + <xi:include href="standard-options.xml" xpointer="no-pager" /> + + </variablelist> + </refsect1> + + <refsect1> <title>Exit status</title> <para>On success, 0 is returned, a non-zero failure code otherwise.</para> |