diff options
author | Jim Meyering <jim@meyering.net> | 1992-12-02 18:51:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-12-02 18:51:53 +0000 |
commit | 9d2ef3292f106ad2a374780c001fcf844ef62144 (patch) | |
tree | 94ad8796ff3d289f38c912e3750780f72f5d71a5 /src/env.c | |
parent | 60edc4537b04bb59858ba135063e0f09c0296feb (diff) | |
download | coreutils-9d2ef3292f106ad2a374780c001fcf844ef62144.tar.gz coreutils-9d2ef3292f106ad2a374780c001fcf844ef62144.tar.bz2 coreutils-9d2ef3292f106ad2a374780c001fcf844ef62144.zip |
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Diffstat (limited to 'src/env.c')
-rw-r--r-- | src/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,8 +94,8 @@ char *program_name; static struct option const longopts[] = { - {"ignore-environment", 0, NULL, 'i'}, - {"unset", 1, NULL, 'u'}, + {"ignore-environment", no_argument, NULL, 'i'}, + {"unset", required_argument, NULL, 'u'}, {NULL, 0, NULL, 0} }; |