aboutsummaryrefslogtreecommitdiff
path: root/procps/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/watch.c')
-rw-r--r--procps/watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/watch.c b/procps/watch.c
index 2bb7cca90..6fc9f7db7 100644
--- a/procps/watch.c
+++ b/procps/watch.c
@@ -62,9 +62,9 @@ int watch_main(int argc UNUSED_PARAM, char **argv)
62 xopen("/dev/null", O_RDONLY); 62 xopen("/dev/null", O_RDONLY);
63#endif 63#endif
64 64
65 opt_complementary = "-1"; // at least one param; -n NUM 65 // "+": stop at first non-option (procps 3.x only); -n NUM
66 // "+": stop at first non-option (procps 3.x only) 66 // at least one param
67 opt = getopt32(argv, "+dtn:+", &period); 67 opt = getopt32(argv, "^+" "dtn:+" "\0" "-1", &period);
68 argv += optind; 68 argv += optind;
69 69
70 // watch from both procps 2.x and 3.x does concatenation. Example: 70 // watch from both procps 2.x and 3.x does concatenation. Example: