diff options
author | Jim Meyering <jim@meyering.net> | 1992-12-02 18:31:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-12-02 18:31:56 +0000 |
commit | eb3a2516dba78740843793f755af412f24ac5330 (patch) | |
tree | f6d6f8c876d373ff98a21e69c08c4a2a194fc360 /src/split.c | |
parent | f9a9be97e1792fb13bcd72b1bf82414bdb615788 (diff) | |
download | coreutils-eb3a2516dba78740843793f755af412f24ac5330.tar.xz |
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/split.c b/src/split.c index 01c53bb38..a2aee897b 100644 --- a/src/split.c +++ b/src/split.c @@ -82,9 +82,9 @@ Usage: %s [-lines] [-l lines] [-b bytes[bkm]] [-C bytes[bkm]]\n\ static struct option const longopts[] = { - {"bytes", 1, NULL, 'b'}, - {"lines", 1, NULL, 'l'}, - {"line-bytes", 1, NULL, 'C'}, + {"bytes", required_argument, NULL, 'b'}, + {"lines", required_argument, NULL, 'l'}, + {"line-bytes", required_argument, NULL, 'C'}, {NULL, 0, NULL, 0} }; |