mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05: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;
|
||||
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…
Add table
Reference in a new issue