diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-04-02 16:48:05 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-11 21:09:42 +0200 |
commit | f0aba519c33058f1ddbb0a63fe2a9c1efe646ac9 (patch) | |
tree | 78b8f5a8e127c3626150f9864a3eccba8ad4a8ea /Userland/Utilities/copy.cpp | |
parent | 84b67754c0026123236b7bbc88230d37000868de (diff) | |
download | serenity-f0aba519c33058f1ddbb0a63fe2a9c1efe646ac9.zip |
Utilities: Read positional arguments as Strings not char*s
This is a pretty trivial change so they're all batched together.
Diffstat (limited to 'Userland/Utilities/copy.cpp')
-rw-r--r-- | Userland/Utilities/copy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/copy.cpp b/Userland/Utilities/copy.cpp index f5f21cb858..04562db98e 100644 --- a/Userland/Utilities/copy.cpp +++ b/Userland/Utilities/copy.cpp @@ -25,7 +25,7 @@ struct Options { static Options parse_options(Main::Arguments arguments) { char const* type = "text/plain"; - Vector<char const*> text; + Vector<String> text; bool clear = false; Core::ArgsParser args_parser; |