1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

Convert static declarations of struct option to use new macros from

getopt.h: no_argument, required_argument, and optional_argument.
This commit is contained in:
Jim Meyering
1992-12-02 18:55:36 +00:00
parent f6ae65319a
commit 57e56eb7ec
15 changed files with 97 additions and 97 deletions

View File

@@ -46,8 +46,8 @@ char *program_name;
static struct option const longopts[] =
{
{"mode", 1, NULL, 'm'},
{"path", 0, &path_mode, 1},
{"mode", required_argument, NULL, 'm'},
{"path", no_argument, &path_mode, 1},
{NULL, 0, NULL, 0}
};