mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Userland: Add support for --delete flag as alias of -d to tr
This commit is contained in:
parent
89ba022ede
commit
310eb72f72
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ int main(int argc, char** argv)
|
|||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_option(complement_flag, "Take the complement of the first set", "complement", 'c');
|
||||
args_parser.add_option(delete_flag, "Delete characters instead of replacing", nullptr, 'd');
|
||||
args_parser.add_option(delete_flag, "Delete characters instead of replacing", "delete", 'd');
|
||||
args_parser.add_positional_argument(from_chars, "Set of characters to translate from", "from");
|
||||
args_parser.add_positional_argument(to_chars, "Set of characters to translate to", "to", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argc, argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue