mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-11 04:58:19 +03:00
tty-ask-password-agent: mention optional argument in help
0cf84693877f060254f04cf38120f52c2aa3059c added --console. 6af621248f2255f9ce50b0bafdde475305dc4e57 added an optional argument, but didn't update the help texts. Note that there is no ambiguity with the optional argument because no positional arguments are allowed.
This commit is contained in:
parent
d65c5d04f9
commit
af88c399c0
@ -92,11 +92,11 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--console</option></term>
|
||||
<term><option>--console</option><optional>=<replaceable>DEVICE</replaceable></optional></term>
|
||||
|
||||
<listitem><para>Ask question on
|
||||
<filename>/dev/console</filename> instead of querying the user
|
||||
on the calling TTY. </para></listitem>
|
||||
<listitem><para>Ask question on TTY <replaceable>DEVICE</replaceable> instead of querying the user on
|
||||
the calling TTY. If <replaceable>DEVICE</replaceable> is not specified,
|
||||
<filename>/dev/console</filename> will be used.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<xi:include href="standard-options.xml" xpointer="help" />
|
||||
|
@ -419,7 +419,8 @@ static int help(void) {
|
||||
" --watch Continuously process password requests\n"
|
||||
" --wall Continuously forward password requests to wall\n"
|
||||
" --plymouth Ask question with Plymouth instead of on TTY\n"
|
||||
" --console Ask question on /dev/console instead of current TTY\n"
|
||||
" --console[=DEVICE] Ask question on /dev/console (or DEVICE if specified)\n"
|
||||
" instead of the current TTY\n"
|
||||
"\nSee the %s for details.\n",
|
||||
program_invocation_short_name,
|
||||
link);
|
||||
|
Loading…
x
Reference in New Issue
Block a user