@@ -1382,7 +1382,7 @@ var yargs = require("yargs")(['--help'])
1382
1382
1383
1383
Later on, ` argv ` can be retrieved with ` yargs.argv ` .
1384
1384
1385
- .implies(x, y)
1385
+ < a name = " implies " ></ a > .implies(x, y)
1386
1386
--------------
1387
1387
1388
1388
Given the key ` x ` is set, it is required that the key ` y ` is set.
@@ -1578,13 +1578,15 @@ Valid `opt` keys include:
1578
1578
- ` coerce ` : function, coerce or transform parsed command line values into another value, see [ ` coerce() ` ] ( #coerce )
1579
1579
- ` config ` : boolean, interpret option as a path to a JSON config file, see [ ` config() ` ] ( #config )
1580
1580
- ` configParser ` : function, provide a custom config parsing function, see [ ` config() ` ] ( #config )
1581
+ - ` conflicts ` : string or object, require certain keys not to be set, see [ ` conflicts() ` ] ( #conflicts )
1581
1582
- ` count ` : boolean, interpret option as a count of boolean flags, see [ ` count() ` ] ( #count )
1582
1583
- ` default ` : value, set a default value for the option, see [ ` default() ` ] ( #default )
1583
1584
- ` defaultDescription ` : string, use this description for the default value in help content, see [ ` default() ` ] ( #default )
1584
1585
- ` demandOption ` : boolean or string, demand the option be given, with optional error message, see [ ` demandOption() ` ] ( #demandOption )
1585
1586
- ` desc ` /` describe ` /` description ` : string, the option description for help content, see [ ` describe() ` ] ( #describe )
1586
1587
- ` global ` : boolean, indicate that this key should not be [ reset] ( #reset ) when a command is invoked, see [ ` global() ` ] ( #global )
1587
1588
- ` group ` : string, when displaying usage instructions place the option under an alternative group heading, see [ ` group() ` ] ( #group )
1589
+ - ` implies ` : string or object, require certain keys to be set, see [ ` implies() ` ] ( #implies )
1588
1590
- ` nargs ` : number, specify how many arguments should be consumed for the option, see [ ` nargs() ` ] ( #nargs )
1589
1591
- ` normalize ` : boolean, apply ` path.normalize() ` to the option, see [ ` normalize() ` ] ( #normalize )
1590
1592
- ` number ` : boolean, interpret option as a number, [ ` number() ` ] ( #number )
0 commit comments