summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-12-02 18:55:36 +0000
committerJim Meyering <jim@meyering.net>1992-12-02 18:55:36 +0000
commit57e56eb7ecaf708b248af8faebd972a0ce6f03c1 (patch)
treec3f0b50cb23033a9f68ae740fc6b41549eb46cc7 /src/chown.c
parentf6ae65319a4e34bb6aebdc8dd4b12e9df136d690 (diff)
downloadcoreutils-57e56eb7ecaf708b248af8faebd972a0ce6f03c1.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/chown.c')
-rw-r--r--src/chown.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/chown.c b/src/chown.c
index b510f1228..37a881e2f 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -83,11 +83,11 @@ static char *groupname;
static struct option const long_options[] =
{
- {"recursive", 0, 0, 'R'},
- {"changes", 0, 0, 'c'},
- {"silent", 0, 0, 'f'},
- {"quiet", 0, 0, 'f'},
- {"verbose", 0, 0, 'v'},
+ {"recursive", no_argument, 0, 'R'},
+ {"changes", no_argument, 0, 'c'},
+ {"silent", no_argument, 0, 'f'},
+ {"quiet", no_argument, 0, 'f'},
+ {"verbose", no_argument, 0, 'v'},
{0, 0, 0, 0}
};