summaryrefslogtreecommitdiff
path: root/man/systemd-ask-password.xml
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2021-05-26 22:38:30 +0200
committerChristian Hesse <mail@eworm.de>2021-05-31 21:13:31 +0200
commite390c34d001187b8c18760e6ce33b72117c59ff1 (patch)
tree258c5b2e6f4b9910d5392bdc9e435d5820c94a17 /man/systemd-ask-password.xml
parent4858bc0d8453bfbadf46aecd291e886d2a8a2f20 (diff)
downloadsystemd-e390c34d001187b8c18760e6ce33b72117c59ff1.tar.gz
ask-password: allow to control lock and key emoji
Giving --echo to systemd-ask-password allows to echo the user input. There's nothing secret, so do not show a lock and key emoji by default. The behavior can be controlled with --emoji=yes|no|auto. The default is auto, which defaults to yes, unless --echo is given.
Diffstat (limited to 'man/systemd-ask-password.xml')
-rw-r--r--man/systemd-ask-password.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd-ask-password.xml b/man/systemd-ask-password.xml
index f241064d8b..a92e45058c 100644
--- a/man/systemd-ask-password.xml
+++ b/man/systemd-ask-password.xml
@@ -166,6 +166,15 @@
</varlistentry>
<varlistentry>
+ <term><option>--emoji=yes|no|auto</option></term>
+
+ <listitem><para>Controls whether or not to prefix the query with a
+ lock and key emoji (🔐), if the TTY settings permit this. The default
+ is <literal>auto</literal>, which defaults to <literal>yes</literal>,
+ unless <option>--echo</option> is given.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--no-tty</option></term>
<listitem><para>Never ask for password on current TTY even if