homectl: fix typos in help text (#36279)
I noticed two small typos while reading the help text for homectl. The `-P` option is described as "Same as --enforce-password-**password**=no" when the option's name is `--enforce-password-policy`. While checking the man page to check if the typo was also there, i noticed another typo where `--enforce-password-policy=no` has 3 dashes instead of 2 in the description for `-P`.
This commit is contained in:
+1
-1
@@ -649,7 +649,7 @@
|
||||
<listitem><para>Takes a boolean argument. Configures whether to enforce the system's password policy
|
||||
for this user, regarding quality and strength of selected passwords. Defaults to
|
||||
on. <option>-P</option> is short for
|
||||
<option>---enforce-password-policy=no</option>.</para>
|
||||
<option>--enforce-password-policy=no</option>.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v245"/></listitem>
|
||||
</varlistentry>
|
||||
|
||||
+1
-1
@@ -2810,7 +2810,7 @@ static int help(int argc, char *argv[], void *userdata) {
|
||||
" --enforce-password-policy=BOOL\n"
|
||||
" Control whether to enforce system's password\n"
|
||||
" policy for this user\n"
|
||||
" -P Same as --enforce-password-password=no\n"
|
||||
" -P Same as --enforce-password-policy=no\n"
|
||||
" --password-change-now=BOOL\n"
|
||||
" Require the password to be changed on next login\n"
|
||||
" --password-change-min=TIME\n"
|
||||
|
||||
Reference in New Issue
Block a user