diff --git a/Base/usr/share/man/man3/getopt.md b/Base/usr/share/man/man3/getopt.md index 58d9e12f56..88625e7084 100644 --- a/Base/usr/share/man/man3/getopt.md +++ b/Base/usr/share/man/man3/getopt.md @@ -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.