diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2022-09-16 01:06:46 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-09-16 05:38:09 +0000 |
commit | 79ec6ed03d2a176b1f3e47aaff29daa5e5e1f369 (patch) | |
tree | 0182888ef056cb46a41080b2805c51c321fafc74 /Userland/Shell | |
parent | 6b6510b5771a6535b6b05e1453d9bab3a05c540a (diff) | |
download | serenity-79ec6ed03d2a176b1f3e47aaff29daa5e5e1f369.zip |
Shell: Fix 'Command:' output for built-in 'time' command
Diffstat (limited to 'Userland/Shell')
-rw-r--r-- | Userland/Shell/Builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/Builtin.cpp b/Userland/Shell/Builtin.cpp index caf9c8034b..1186efcd08 100644 --- a/Userland/Shell/Builtin.cpp +++ b/Userland/Shell/Builtin.cpp @@ -919,7 +919,7 @@ int Shell::builtin_time(int argc, char const** argv) warnln("Timing report: {} ms", iteration_times.sum()); warnln("=============="); - warnln("Command: {}", String::join(' ', command.argv)); + warnln("Command: {}", String::join(' ', Span<char const*>(argv, argc))); warnln("Average time: {:.2} ms (median: {}, stddev: {:.2}, min: {}, max:{})", iteration_times.average(), iteration_times.median(), iteration_times.standard_deviation(), |