ts-command-line-args
Advanced tools
Comparing version 2.1.2 to 2.1.4
@@ -73,3 +73,3 @@ "use strict"; | ||
if (definition.defaultValue != null) { | ||
definition.description = "Defaults to '" + String(definition.defaultValue) + "'. " + definition.description; | ||
definition.description = "Defaults to " + JSON.stringify(definition.defaultValue) + ". " + definition.description; | ||
} | ||
@@ -76,0 +76,0 @@ return definition; |
{ | ||
"name": "ts-command-line-args", | ||
"version": "2.1.2", | ||
"version": "2.1.4", | ||
"description": "A Typescript wrapper around command-line-args with additional support for markdown usage guide generation", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -199,3 +199,3 @@ /* eslint-disable no-useless-escape */ | ||
| **src** | | file ... | Default Option. The input files to process | | ||
| **timeout** | **t** | ms | Defaults to '1000'. Timeout value in ms | | ||
| **timeout** | **t** | ms | Defaults to "1000". Timeout value in ms | | ||
@@ -202,0 +202,0 @@ |
@@ -85,3 +85,3 @@ import { Content, OptionList } from 'command-line-usage'; | ||
if (definition.defaultValue != null) { | ||
definition.description = `Defaults to '${String(definition.defaultValue)}'. ${definition.description}`; | ||
definition.description = `Defaults to ${JSON.stringify(definition.defaultValue)}. ${definition.description}`; | ||
} | ||
@@ -88,0 +88,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
681803