diff options
author | bapt <bapt@FreeBSD.org> | 2015-07-11 18:09:27 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-07-11 18:09:27 +0000 |
commit | 0ee1498c18cba7fe4ce62ece1a9f7e5c48b6e540 (patch) | |
tree | f8323c8974042016bac4d173c371444919e46dec /usr.sbin/pw/pw.c | |
parent | 34875849ac8b12113d90d7171bd29ba461f5439e (diff) | |
download | FreeBSD-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.c | 6 |
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); |