diff options
Diffstat (limited to 'src/tail.c')
-rw-r--r-- | src/tail.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tail.c b/src/tail.c index e3aa464fe..969488b7b 100644 --- a/src/tail.c +++ b/src/tail.c @@ -117,12 +117,12 @@ static int have_read_stdin; static struct option const long_options[] = { - {"bytes", 1, NULL, 'c'}, - {"follow", 0, NULL, 'f'}, - {"lines", 1, NULL, 'n'}, - {"quiet", 0, NULL, 'q'}, - {"silent", 0, NULL, 'q'}, - {"verbose", 0, NULL, 'v'}, + {"bytes", required_argument, NULL, 'c'}, + {"follow", no_argument, NULL, 'f'}, + {"lines", required_argument, NULL, 'n'}, + {"quiet", no_argument, NULL, 'q'}, + {"silent", no_argument, NULL, 'q'}, + {"verbose", no_argument, NULL, 'v'}, {NULL, 0, NULL, 0} }; |