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/id.c | |
parent | 60edc4537b04bb59858ba135063e0f09c0296feb (diff) | |
download | coreutils-9d2ef3292f106ad2a374780c001fcf844ef62144.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/id.c')
-rw-r--r-- | src/id.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -92,11 +92,11 @@ static int problems = 0; static struct option const longopts[] = { - {"group", 0, NULL, 'g'}, - {"name", 0, NULL, 'n'}, - {"real", 0, NULL, 'r'}, - {"user", 0, NULL, 'u'}, - {"groups", 0, NULL, 'G'}, + {"group", no_argument, NULL, 'g'}, + {"name", no_argument, NULL, 'n'}, + {"real", no_argument, NULL, 'r'}, + {"user", no_argument, NULL, 'u'}, + {"groups", no_argument, NULL, 'G'}, {NULL, 0, NULL, 0} }; |