Utilities: Add ignored -f option to touch

This commit is contained in:
Jean-Baptiste Boric 2021-10-23 13:52:40 +02:00 committed by Andreas Kling
parent 1b3090bf3c
commit 8bbf43318f
Notes: sideshowbarker 2024-07-18 02:01:13 +09:00

View File

@ -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);