git: 84733f2e9676 - main - pw.8: Do not specify full path to shell in examples

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sun, 03 Apr 2022 12:52:57 UTC
The branch main has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=84733f2e9676853b9420b1443ff98ea98dadc0d6

commit 84733f2e9676853b9420b1443ff98ea98dadc0d6
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-04-03 12:50:28 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-04-03 12:52:08 +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
---
 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.