From ed6fd55a5922a7d657ce1c59dbf21e4e9c109b06 Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Wed, 14 Mar 2001 03:24:30 +0000
Subject: [PATCH] Document the lock and unlock commands. This fixes a
segmentation fault.
PR: 25187
Approved by: nik
---
usr.sbin/pw/pw.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index dd23df92e1c1..a1f9d8cf8abc 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -370,6 +370,15 @@ cmdhelp(int mode, int which)
"usage: pw usernext [switches]\n"
"\t-V etcdir alternate /etc location\n"
"\t-C config configuration file\n"
+ "\t-q quiet operation\n",
+ "usage pw: lock [switches]\n"
+ "\t-V etcdir alternate /etc locations\n"
+ "\t-C config configuration file\n"
+ "\t-q quiet operation\n",
+ "usage pw: unlock [switches]\n"
+ "\t-V etcdir alternate /etc locations\n"
+ "\t-C config configuration file\n"
+ "\t-q quiet operation\n"
},
{
"usage: pw groupadd [group|gid] [switches]\n"
@@ -409,6 +418,7 @@ cmdhelp(int mode, int which)
"usage: pw groupnext [switches]\n"
"\t-V etcdir alternate /etc location\n"
"\t-C config configuration file\n"
+ "\t-q quiet operation\n"
}
};