Base: Replace getopt with getopt_long in man page

This commit is contained in:
demostanis 2022-08-08 18:46:27 +02:00 committed by Brian Gianforcaro
parent 361fc56632
commit 6744402dbf
Notes: sideshowbarker 2024-07-17 08:45:34 +09:00

View file

@ -110,7 +110,7 @@ while (true) {
{ "pad", optional_argument, nullptr, 'p' },
{ "verbose", no_argument, &verbose, 1 },
};
int opt = getopt(argc, argv, short_options, long_options, nullptr);
int opt = getopt_long(argc, argv, short_options, long_options, nullptr);
switch (opt) {
case -1:
// No more options.