diff --git a/Userland/Shell/Builtin.cpp b/Userland/Shell/Builtin.cpp index b59cff5051b..3e8938d118e 100644 --- a/Userland/Shell/Builtin.cpp +++ b/Userland/Shell/Builtin.cpp @@ -9,6 +9,7 @@ #include "Shell/Formatter.h" #include #include +#include #include #include #include @@ -951,10 +952,7 @@ int Shell::builtin_time(int argc, const char** argv) warnln("Timing report:"); warnln("=============="); - warn("Command: "); - for (auto& string : args) - warn("{} ", string); - warnln(""); + warnln("Command: {}", String::join(' ', args)); warnln("Average time: {} ms", average); warnln("Excluding first: {} ms", average_excluding_first); }