mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Userland: Add support for --delete flag as alias of -d to tr
This commit is contained in:
parent
89ba022ede
commit
310eb72f72
Notes:
sideshowbarker
2024-07-18 07:05:55 +09:00
Author: https://github.com/boricj Commit: https://github.com/SerenityOS/serenity/commit/310eb72f729 Pull-request: https://github.com/SerenityOS/serenity/pull/9344 Reviewed-by: https://github.com/alimpfard
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…
Reference in a new issue