From 57e56eb7ecaf708b248af8faebd972a0ce6f03c1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Dec 1992 18:55:36 +0000 Subject: Convert static declarations of struct option to use new macros from getopt.h: no_argument, required_argument, and optional_argument. --- src/chown.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/chown.c') 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} }; -- cgit v1.2.3-70-g09d2