1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

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

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.