aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw.c b/pw.c
index d7619aa..9749933 100644
--- a/pw.c
+++ b/pw.c
@@ -320,7 +320,7 @@ int main(int argc, char **argv)
if (ttyfd < 0)
panic("unable to open /dev/tty");
- while ((opt = getopt(argc, argv, "ni:l:d")) != -1) {
+ while ((opt = getopt(argc, argv, "n:i:l:d")) != -1) {
switch (opt) {
case 'n':
maxlines = atoi(optarg);