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/csplit.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/csplit.c')
-rw-r--r-- | src/csplit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/csplit.c b/src/csplit.c index 03ee5d79b..ec8d2ed51 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1198,11 +1198,11 @@ interrupt_handler () static struct option const longopts[] = { - {"digits", 1, NULL, 'n'}, - {"quiet", 0, NULL, 's'}, - {"silent", 0, NULL, 's'}, - {"keep-files", 0, NULL, 'k'}, - {"prefix", 1, NULL, 'f'}, + {"digits", required_argument, NULL, 'n'}, + {"quiet", no_argument, NULL, 's'}, + {"silent", no_argument, NULL, 's'}, + {"keep-files", no_argument, NULL, 'k'}, + {"prefix", required_argument, NULL, 'f'}, {NULL, 0, NULL, 0} }; |