mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:07:45 +00:00
Utilities: Add ignored -f option to touch
This commit is contained in:
parent
1b3090bf3c
commit
8bbf43318f
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
Core::ArgsParser args_parser;
|
Core::ArgsParser args_parser;
|
||||||
args_parser.set_general_help("Create a file, or update its mtime (time of last modification).");
|
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.add_positional_argument(paths, "Files to touch", "path", Core::ArgsParser::Required::Yes);
|
||||||
args_parser.parse(argc, argv);
|
args_parser.parse(argc, argv);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue