summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-07-11 18:09:27 +0000
committerbapt <bapt@FreeBSD.org>2015-07-11 18:09:27 +0000
commit0ee1498c18cba7fe4ce62ece1a9f7e5c48b6e540 (patch)
treef8323c8974042016bac4d173c371444919e46dec /usr.sbin/pw/pw.c
parent34875849ac8b12113d90d7171bd29ba461f5439e (diff)
downloadFreeBSD-src-0ee1498c18cba7fe4ce62ece1a9f7e5c48b6e540.zip
FreeBSD-src-0ee1498c18cba7fe4ce62ece1a9f7e5c48b6e540.tar.gz
Make separate functions to show users and groups
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r--usr.sbin/pw/pw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index 951abc6..56e4103 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -234,6 +234,9 @@ main(int argc, char *argv[])
conf.config = optarg;
config = conf.config;
break;
+ case 'F':
+ conf.force = true;
+ break;
case 'N':
conf.dryrun = true;
break;
@@ -248,6 +251,9 @@ main(int argc, char *argv[])
case 'Y':
nis = true;
break;
+ case 'a':
+ conf.all = true;
+ break;
case 'g':
if (which == 0) { /* for user* */
addarg(&arglist, 'g', optarg);
OpenPOWER on IntegriCloud