mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-21 10:38:24 +00:00
Utilities: Add the -c option to install
This commit is contained in:
committed by
Brian Gianforcaro
parent
7ff6d4d72b
commit
f44cd168b0
@@ -19,6 +19,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
StringView destination;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_ignored(nullptr, 'c'); // "copy files" is the default, no contradicting options exist.
|
||||
args_parser.add_option(create_leading_dest_components, "Create leading components of the destination path", nullptr, 'D');
|
||||
args_parser.add_positional_argument(source, "Source path", "source");
|
||||
args_parser.add_positional_argument(destination, "Destination path", "destination");
|
||||
|
||||
Reference in New Issue
Block a user