summaryrefslogtreecommitdiff
path: root/src/unexpand.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-12-02 18:31:56 +0000
committerJim Meyering <jim@meyering.net>1992-12-02 18:31:56 +0000
commiteb3a2516dba78740843793f755af412f24ac5330 (patch)
treef6d6f8c876d373ff98a21e69c08c4a2a194fc360 /src/unexpand.c
parentf9a9be97e1792fb13bcd72b1bf82414bdb615788 (diff)
downloadcoreutils-eb3a2516dba78740843793f755af412f24ac5330.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/unexpand.c')
-rw-r--r--src/unexpand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unexpand.c b/src/unexpand.c
index e595f434b..e3de5e709 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -107,8 +107,8 @@ char *program_name;
static struct option const longopts[] =
{
- {"tabs", 1, NULL, 't'},
- {"all", 0, NULL, 'a'},
+ {"tabs", required_argument, NULL, 't'},
+ {"all", no_argument, NULL, 'a'},
{NULL, 0, NULL, 0}
};