diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-14 15:56:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-14 15:56:19 +0100 |
commit | 9fccdb0f64d12bc09a71442dd0af2248c1aa3e89 (patch) | |
tree | aca201d5e65bac4bcbe697e6f075378b3c01413a /man/nss-myhostname.xml | |
parent | 6046278f405b3ebaf84fcf17f6e834c4c4bd6a42 (diff) |
man: always place <programlisting> and </programlisting> in a line with actual sources, so that we don't get spurious newlines in the man page output
Diffstat (limited to 'man/nss-myhostname.xml')
-rw-r--r-- | man/nss-myhostname.xml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index efbadac33f..cca3a99aaa 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -86,8 +86,7 @@ <refsect1> <title>Example</title> - <programlisting> -# /etc/nsswitch.conf +<programlisting># /etc/nsswitch.conf passwd: compat group: compat @@ -101,20 +100,17 @@ services: db files ethers: db files rpc: db files -netgroup: nis - </programlisting> +netgroup: nis</programlisting> <para>To test, use <command>glibc</command>'s <command>getent</command> tool:</para> - <programlisting> -$ getent ahosts `hostname` + <programlisting>$ getent ahosts `hostname` ::1 STREAM omega ::1 DGRAM ::1 RAW 127.0.0.2 STREAM 127.0.0.2 DGRAM -127.0.0.2 RAW - </programlisting> +127.0.0.2 RAW</programlisting> <para>In this case the local hostname is <varname>omega</varname>.</para> |