summaryrefslogtreecommitdiff
path: root/Userland/tail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/tail.cpp')
-rw-r--r--Userland/tail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/tail.cpp b/Userland/tail.cpp
index 46e0e0a214..ff416e3843 100644
--- a/Userland/tail.cpp
+++ b/Userland/tail.cpp
@@ -79,7 +79,7 @@ int main(int argc, char *argv[])
args_parser.add_arg("f", "follow -- appended data is output as it is written to the file");
args_parser.add_arg("n", "lines", "fetch the specified number of lines");
- args_parser.set_required_single_value("file");
+ args_parser.add_required_single_value("file");
AK::ArgsParserResult args = args_parser.parse(argc, (const char**)argv);