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/paste.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/paste.c')
-rw-r--r-- | src/paste.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paste.c b/src/paste.c index 3b2b1de65..3cd95d368 100644 --- a/src/paste.c +++ b/src/paste.c @@ -79,8 +79,8 @@ static char *delim_end; static struct option const longopts[] = { - {"serial", 0, 0, 's'}, - {"delimiters", 1, 0, 'd'}, + {"serial", no_argument, 0, 's'}, + {"delimiters", required_argument, 0, 'd'}, {0, 0, 0, 0} }; |