diff --git a/lib/commander.js b/lib/commander.js index 5ba87ebb8..e70e14849 100644 --- a/lib/commander.js +++ b/lib/commander.js @@ -1,4 +1,3 @@ - /*! * commander * Copyright(c) 2011 TJ Holowaychuk @@ -48,7 +47,7 @@ function Option(flags, description) { flags = flags.split(/[ ,|]+/); if (flags.length > 1 && !/^[[<]/.test(flags[1])) this.short = flags.shift(); this.long = flags.shift(); - this.description = description; + this.description = description || ''; } /**