diff --git a/lib/command.js b/lib/command.js index 0ff063685..590a271dd 100644 --- a/lib/command.js +++ b/lib/command.js @@ -330,7 +330,7 @@ class Command extends EventEmitter { */ arguments(names) { - names.split(/ +/).forEach((detail) => { + names.trim().split(/ +/).forEach((detail) => { this.argument(detail); }); return this;