Skip to content

Commit 2691d65

Browse files
committed
man: use <varname> for pam configuration options
It seems to fit the role better, and also the formatting in systemd.directives is fixes.
1 parent 6f520e7 commit 2691d65

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

man/pam_systemd.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<variablelist class='pam-directives'>
8383

8484
<varlistentry>
85-
<term><option>class=</option></term>
85+
<term><varname>class=</varname></term>
8686

8787
<listitem><para>Takes a string argument which sets the session class. The <varname>XDG_SESSION_CLASS</varname>
8888
environment variable (see below) takes precedence. One of <literal>user</literal>, <literal>greeter</literal>,
@@ -92,7 +92,7 @@
9292
</varlistentry>
9393

9494
<varlistentry>
95-
<term><option>type=</option></term>
95+
<term><varname>type=</varname></term>
9696

9797
<listitem><para>Takes a string argument which sets the session type. The <varname>XDG_SESSION_TYPE</varname>
9898
environment variable (see below) takes precedence. One of <literal>unspecified</literal>,
@@ -102,7 +102,7 @@
102102
</varlistentry>
103103

104104
<varlistentry>
105-
<term><option>desktop=</option></term>
105+
<term><varname>desktop=</varname></term>
106106

107107
<listitem><para>Takes a single, short identifier string for the desktop environment. The
108108
<varname>XDG_SESSION_DESKTOP</varname> environment variable (see below) takes precedence. This may be used to
@@ -117,7 +117,7 @@
117117
</varlistentry>
118118

119119
<varlistentry>
120-
<term><option>debug<optional>=</optional></option></term>
120+
<term><varname>debug</varname><optional>=</optional></term>
121121

122122
<listitem><para>Takes an optional boolean argument. If yes or without the argument, the module will log
123123
debugging information as it operates.</para></listitem>
@@ -186,21 +186,21 @@
186186
<varlistentry>
187187
<term><varname>$XDG_SESSION_TYPE</varname></term>
188188

189-
<listitem><para>The session type. This may be used instead of <option>session=</option> on the module parameter
189+
<listitem><para>The session type. This may be used instead of <varname>session=</varname> on the module parameter
190190
line, and is usually preferred.</para></listitem>
191191
</varlistentry>
192192

193193
<varlistentry>
194194
<term><varname>$XDG_SESSION_CLASS</varname></term>
195195

196-
<listitem><para>The session class. This may be used instead of <option>class=</option> on the module parameter
196+
<listitem><para>The session class. This may be used instead of <varname>class=</varname> on the module parameter
197197
line, and is usually preferred.</para></listitem>
198198
</varlistentry>
199199

200200
<varlistentry>
201201
<term><varname>$XDG_SESSION_DESKTOP</varname></term>
202202

203-
<listitem><para>The desktop identifier. This may be used instead of <option>desktop=</option> on the module
203+
<listitem><para>The desktop identifier. This may be used instead of <varname>desktop=</varname> on the module
204204
parameter line, and is usually preferred.</para></listitem>
205205
</varlistentry>
206206

@@ -242,7 +242,7 @@
242242
the context objects.
243243
</para>
244244

245-
<variablelist>
245+
<variablelist class='pam-directives'>
246246
<varlistentry>
247247
<term><varname>systemd.memory_max</varname></term>
248248

0 commit comments

Comments
 (0)