From 72132b4e97e813a631b88a8bffd6f6ce497e59c0 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Tue, 12 Sep 2017 16:23:15 +0200 Subject: [PATCH] Remove trailing whitespace in cli-constant.js --- src/cli-constant.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/cli-constant.js b/src/cli-constant.js index 91d54494..24e0a8c0 100644 --- a/src/cli-constant.js +++ b/src/cli-constant.js @@ -7,35 +7,35 @@ * // and also be displayed in usage as `--option ` except `choice` * // there is also additional check for 'choice' (see `choices`) and 'int' * type: 'boolean' | 'choice' | 'int' | string; - * + * * // default value to be passed in minimist option `default` * default?: any; - * + * * // alias name to be passed in minimist option `alias` * alias?: string; - * + * * // for categorizing option in usage - * category?: string; - * + * category?: string; + * * // description to be displayed in usage * description?: string; - * + * * // description for its no-option (`no-${name}`) to be displayed in usage * oppositeDescription?: string; - * + * * // indicate if this option is also used for api * // true: use camelified name as api key * // string: use this value as api key * forwardToApi?: boolean | string; - * + * * // specify available choices, and will be also displayed in usage as * // use object choice if it's a deprecated value and should be treated as `redirect` * choices?: Array; - * + * * // an exception value or function to indicate if the value is an exception * // exception value will not be checked regardless of any constraint * exception?: any | ((value: any) => boolean); - * + * * // function to get its value, usually use for deprecated option * // `--parser` for example: (value, argv) => argv["flow-parser"] ? "flow" : value * getter?: (value: any, argv: any) => any;