Navigation Menu

Skip to content

Commit

Permalink
Fix a minor inconsistency in CLI help output
Browse files Browse the repository at this point in the history
(install and download commands have the order flipped)
  • Loading branch information
Gama11 committed Jun 4, 2019
1 parent 2128d8f commit bb1cdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lix/cli/Cli.hx
Expand Up @@ -83,7 +83,7 @@ class Cli {
}
),
new Command('install haxe', '<version>|<alias>', 'install specified haxe version', null),//this is never matched and is here purely for usage display
new Command('use', 'haxe <alias>|<version>', 'use specified haxe version', function (args) return switch args {
new Command('use', 'haxe <version>|<alias>', 'use specified haxe version', function (args) return switch args {
case ['haxe', version]: hx.resolveInstalled(version).next(hx.switchTo);
default: new Error('invalid arguments');
}),
Expand Down

0 comments on commit bb1cdc8

Please sign in to comment.