summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authordemostanis <demostanis@protonmail.com>2022-08-08 18:46:27 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-08-08 16:35:28 -0400
commit6744402dbfe08af7324c8ff8134deb10ee967343 (patch)
treec757739563a74ef6fd981fa37d8958a11abc5ad1 /Base
parent361fc566324ef0273c4a972efd43651a326ec038 (diff)
downloadserenity-6744402dbfe08af7324c8ff8134deb10ee967343.zip
Base: Replace getopt with getopt_long in man page
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man3/getopt.md2
1 files changed, 1 insertions, 1 deletions
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.