mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
ls: Remove leading dashes from ArgsParser argument name
Otherwise the full argument would be "----ignore-backups", which is most certainly not correct :^)
This commit is contained in:
parent
fda25f9505
commit
4a331c73f8
Notes:
sideshowbarker
2024-07-17 16:44:25 +09:00
Author: https://github.com/alimpfard
Commit: 4a331c73f8
Pull-request: https://github.com/SerenityOS/serenity/pull/13212
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
args_parser.set_general_help("List files in a directory.");
|
||||
args_parser.add_option(flag_show_dotfiles, "Show dotfiles", "all", 'a');
|
||||
args_parser.add_option(flag_show_almost_all_dotfiles, "Do not list implied . and .. directories", nullptr, 'A');
|
||||
args_parser.add_option(flag_ignore_backups, "Do not list implied entries ending with ~", "--ignore-backups", 'B');
|
||||
args_parser.add_option(flag_ignore_backups, "Do not list implied entries ending with ~", "ignore-backups", 'B');
|
||||
args_parser.add_option(flag_list_directories_only, "List directories themselves, not their contents", "directory", 'd');
|
||||
args_parser.add_option(flag_long, "Display long info", "long", 'l');
|
||||
args_parser.add_option(flag_sort_by_timestamp, "Sort files by timestamp", nullptr, 't');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue