Comparing version 1.0.9 to 1.0.10
@@ -0,1 +1,7 @@ | ||
1.0.10 / 2018-02-15 | ||
------------------ | ||
- Use .concat instead of + for arrays, #122. | ||
1.0.9 / 2016-09-29 | ||
@@ -2,0 +8,0 @@ ------------------ |
@@ -13,3 +13,3 @@ /** | ||
* | ||
* #####Alowed keywords: | ||
* ##### Allowed keywords: | ||
* | ||
@@ -16,0 +16,0 @@ * - `store` |
@@ -417,3 +417,3 @@ /** | ||
indent = $$.repeat(' ', prefix.length); | ||
parts = optionalParts + positionalParts; | ||
parts = optionalParts.concat(positionalParts); | ||
lines = _getLines(parts, indent); | ||
@@ -426,3 +426,3 @@ if (lines.length > 1) { | ||
} | ||
lines = [ prog ] + lines; | ||
lines = [ prog ].concat(lines); | ||
} | ||
@@ -429,0 +429,0 @@ // join lines into usage |
{ | ||
"name": "argparse", | ||
"description": "Very powerful CLI arguments parser. Native port of argparse - python's options parsing library", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "cli", |
argparse | ||
======== | ||
[![Build Status](https://secure.travis-ci.org/nodeca/argparse.png?branch=master)](http://travis-ci.org/nodeca/argparse) | ||
[![Build Status](https://secure.travis-ci.org/nodeca/argparse.svg?branch=master)](http://travis-ci.org/nodeca/argparse) | ||
[![NPM version](https://img.shields.io/npm/v/argparse.svg)](https://www.npmjs.org/package/argparse) | ||
@@ -16,2 +16,6 @@ | ||
- Use `defaultValue` instead of `default`. | ||
- Use `argparse.Const.REMAINDER` instead of `argparse.REMAINDER`, and | ||
similarly for constant values `OPTIONAL`, `ZERO_OR_MORE`, and `ONE_OR_MORE` | ||
(aliases for `nargs` values `'?'`, `'*'`, `'+'`, respectively), and | ||
`SUPPRESS`. | ||
@@ -86,3 +90,3 @@ | ||
``` | ||
new ArgumentParser({paramters hash}); | ||
new ArgumentParser({parameters hash}); | ||
``` | ||
@@ -105,3 +109,3 @@ | ||
**Not supportied yet** | ||
**Not supported yet** | ||
@@ -108,0 +112,0 @@ - ```fromfilePrefixChars``` - The set of characters that prefix files from which additional arguments should be read. |
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
116446
258