diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-04-01 20:58:27 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-01 21:24:45 +0100 |
commit | 086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch) | |
tree | 02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Utilities/tree.cpp | |
parent | 0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff) | |
download | serenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip |
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Utilities/tree.cpp')
-rw-r--r-- | Userland/Utilities/tree.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Utilities/tree.cpp b/Userland/Utilities/tree.cpp index 12f4ea8744..f90c10e669 100644 --- a/Userland/Utilities/tree.cpp +++ b/Userland/Utilities/tree.cpp @@ -27,7 +27,7 @@ static int max_depth = INT_MAX; static int g_directories_seen = 0; static int g_files_seen = 0; -static void print_directory_tree(const String& root_path, int depth, const String& indent_string) +static void print_directory_tree(String const& root_path, int depth, String const& indent_string) { if (depth > 0) { String root_indent_string; @@ -106,7 +106,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio rpath tty")); - Vector<const char*> directories; + Vector<char const*> directories; Core::ArgsParser args_parser; args_parser.add_option(flag_show_hidden_files, "Show hidden files", "all", 'a'); @@ -124,7 +124,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) print_directory_tree(".", 0, ""); puts(""); } else { - for (const char* directory : directories) { + for (char const* directory : directories) { print_directory_tree(directory, 0, ""); puts(""); } |