mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Base: Replace getopt with getopt_long in man page
This commit is contained in:
parent
361fc56632
commit
6744402dbf
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/demostanis Commit: https://github.com/SerenityOS/serenity/commit/6744402dbf Pull-request: https://github.com/SerenityOS/serenity/pull/14808
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue