From f0aba519c33058f1ddbb0a63fe2a9c1efe646ac9 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 2 Apr 2022 16:48:05 +0100 Subject: Utilities: Read positional arguments as Strings not char*s This is a pretty trivial change so they're all batched together. --- Userland/Utilities/grep.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Utilities/grep.cpp') diff --git a/Userland/Utilities/grep.cpp b/Userland/Utilities/grep.cpp index c9e3dd8116..fecbcd08df 100644 --- a/Userland/Utilities/grep.cpp +++ b/Userland/Utilities/grep.cpp @@ -39,11 +39,11 @@ ErrorOr serenity_main(Main::Arguments args) String program_name = AK::LexicalPath::basename(args.strings[0]); - Vector files; + Vector files; bool recursive = (program_name == "rgrep"sv); bool use_ere = (program_name == "egrep"sv); - Vector patterns; + Vector patterns; BinaryFileMode binary_mode { BinaryFileMode::Binary }; bool case_insensitive = false; bool line_numbers = false; -- cgit v1.2.3