summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pw.c')
-rw-r--r--pw/pw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pw/pw.c b/pw/pw.c
index 7a86680..22665e9 100644
--- a/pw/pw.c
+++ b/pw/pw.c
@@ -133,6 +133,7 @@ main(int argc, char *argv[])
relocated = nis = false;
conf.rootdir[0] = '\0';
conf.dryrun = false;
+ conf.pretty = false;
strlcpy(conf.etcpath, _PATH_PWD, sizeof(conf.etcpath));
LIST_INIT(&arglist);
@@ -222,6 +223,9 @@ main(int argc, char *argv[])
case 'N':
conf.dryrun = true;
break;
+ case 'P':
+ conf.pretty = true;
+ break;
case 'Y':
nis = true;
break;