git: 72aaeadf3874 - stable/13 - pw.8: Do not specify full path to shell in examples

From: Mateusz Piotrowski <>
Date: Mon, 11 Apr 2022 10:16:10 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer):


commit 72aaeadf3874d0186742206caae78078f2edb9ff
Author:     Mateusz Piotrowski <>
AuthorDate: 2022-04-03 12:50:28 +0000
Commit:     Mateusz Piotrowski <>
CommitDate: 2022-04-11 10:15:55 +0000

    pw.8: Do not specify full path to shell in examples
    Providing a full path to a shell is discouraged in the description of
    the -s flag. Let's follow the best practices in the examples.
    MFC after:      1 week
    (cherry picked from commit 84733f2e9676853b9420b1443ff98ea98dadc0d6)
 usr.sbin/pw/pw.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8
index 752eb4ff4b83..d9072872bc2b 100644
--- a/usr.sbin/pw/pw.8
+++ b/usr.sbin/pw/pw.8
@@ -975,7 +975,7 @@ A new home directory at
 is created if it does not already exist.
 Finally, a random password is generated and displayed:
 .Bd -literal -offset indent
-pw useradd -n gsmith -c "Glurmo Smith" -s /bin/csh -m -w random
+pw useradd -n gsmith -c "Glurmo Smith" -s csh -m -w random
 Delete the gsmith user and their home directory, including contents.