mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
ln: Fix typo in arguments
argument
This commit is contained in:
parent
50642f85ac
commit
4fbe43f282
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
ErrorOr<int> serenity_main(Main::Arguments argmuments)
|
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
{
|
{
|
||||||
TRY(Core::System::pledge("stdio cpath"));
|
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_option(symbolic, "Create a symlink", "symbolic", 's');
|
||||||
args_parser.add_positional_argument(target, "Link target", "target");
|
args_parser.add_positional_argument(target, "Link target", "target");
|
||||||
args_parser.add_positional_argument(path, "Link path", "path", Core::ArgsParser::Required::No);
|
args_parser.add_positional_argument(path, "Link path", "path", Core::ArgsParser::Required::No);
|
||||||
args_parser.parse(argmuments);
|
args_parser.parse(arguments);
|
||||||
|
|
||||||
String path_buffer;
|
String path_buffer;
|
||||||
if (!path) {
|
if (!path) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue