mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
Utilities: Add ignored -f option to touch
This commit is contained in:
parent
1b3090bf3c
commit
8bbf43318f
Notes:
sideshowbarker
2024-07-18 02:01:13 +09:00
Author: https://github.com/boricj Commit: https://github.com/SerenityOS/serenity/commit/8bbf43318f1 Pull-request: https://github.com/SerenityOS/serenity/pull/10594
@ -39,6 +39,7 @@ int main(int argc, char** argv)
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Create a file, or update its mtime (time of last modification).");
|
||||
args_parser.add_ignored(nullptr, 'f');
|
||||
args_parser.add_positional_argument(paths, "Files to touch", "path", Core::ArgsParser::Required::Yes);
|
||||
args_parser.parse(argc, argv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user