mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Utilities: Add the -c
option to install
This commit is contained in:
parent
7ff6d4d72b
commit
f44cd168b0
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue