git: 2f63e8bc1ca0 - stable/12 - pw.8: Do not specify full path to shell in examples

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

URL: https://cgit.FreeBSD.org/src/commit/?id=2f63e8bc1ca00e4e610e2cbb06ec7027f580cd88

commit 2f63e8bc1ca00e4e610e2cbb06ec7027f580cd88
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-04-03 12:50:28 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-04-11 10:16:06 +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
 .Ed
 .Pp
 Delete the gsmith user and their home directory, including contents.