summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tabs/tabs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/tabs/tabs.c b/usr.bin/tabs/tabs.c
index 536f33c..d03a741 100644
--- a/usr.bin/tabs/tabs.c
+++ b/usr.bin/tabs/tabs.c
@@ -115,6 +115,9 @@ main(int argc __unused, char *argv[])
usage();
setenv("TERM", arg, 1);
}
+ } else if (arg[1] == '-') {
+ arg = *++argv;
+ break;
} else {
/* Predefined format */
for (i = 0; i < (int)NELEMS(formats); i++)
OpenPOWER on IntegriCloud