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:
@@ -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}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user