diff --git a/src/cli/colors.js b/src/cli/colors.js index 71723ae42f..7ddd188898 100644 --- a/src/cli/colors.js +++ b/src/cli/colors.js @@ -19,7 +19,7 @@ const colors = [ ]; function humanReadableArgName(arg) { - const nameOutput = arg.name + (arg.variadic === true ? '...' : ''); + const nameOutput = arg.name() + (arg.variadic === true ? '...' : ''); return arg.required ? `<${nameOutput}>` : `[${nameOutput}]`; }