mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03:00
ln: Fix typo in arguments
argument
This commit is contained in:
parent
50642f85ac
commit
4fbe43f282
Notes:
sideshowbarker
2024-07-17 18:06:52 +09:00
Author: https://github.com/sppmacd Commit: https://github.com/SerenityOS/serenity/commit/4fbe43f282 Pull-request: https://github.com/SerenityOS/serenity/pull/14412
@ -10,7 +10,7 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
ErrorOr<int> serenity_main(Main::Arguments argmuments)
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio cpath"));
|
||||
|
||||
@ -24,7 +24,7 @@ ErrorOr<int> serenity_main(Main::Arguments argmuments)
|
||||
args_parser.add_option(symbolic, "Create a symlink", "symbolic", 's');
|
||||
args_parser.add_positional_argument(target, "Link target", "target");
|
||||
args_parser.add_positional_argument(path, "Link path", "path", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argmuments);
|
||||
args_parser.parse(arguments);
|
||||
|
||||
String path_buffer;
|
||||
if (!path) {
|
||||
|
Loading…
Reference in New Issue
Block a user