From eb3a2516dba78740843793f755af412f24ac5330 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Dec 1992 18:31:56 +0000 Subject: Convert static declarations of struct option to use new macros from getopt.h: no_argument, required_argument, and optional_argument. --- src/split.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/split.c') diff --git a/src/split.c b/src/split.c index 01c53bb38..a2aee897b 100644 --- a/src/split.c +++ b/src/split.c @@ -82,9 +82,9 @@ Usage: %s [-lines] [-l lines] [-b bytes[bkm]] [-C bytes[bkm]]\n\ static struct option const longopts[] = { - {"bytes", 1, NULL, 'b'}, - {"lines", 1, NULL, 'l'}, - {"line-bytes", 1, NULL, 'C'}, + {"bytes", required_argument, NULL, 'b'}, + {"lines", required_argument, NULL, 'l'}, + {"line-bytes", required_argument, NULL, 'C'}, {NULL, 0, NULL, 0} }; -- cgit v1.2.3-70-g09d2