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/expand.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/expand.c')
-rw-r--r-- | src/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expand.c b/src/expand.c index 4c46e3f41..a4fb1af5b 100644 --- a/src/expand.c +++ b/src/expand.c @@ -105,8 +105,8 @@ char *program_name; static struct option const longopts[] = { - {"tabs", 1, NULL, 't'}, - {"initial", 0, NULL, 'i'}, + {"tabs", required_argument, NULL, 't'}, + {"initial", no_argument, NULL, 'i'}, {NULL, 0, NULL, 0} }; |