diff --git a/docs/content/en/Getting-Started/Basic-Usage/_index.md b/docs/content/en/Getting-Started/Basic-Usage/_index.md index ef7b540b..05053642 100644 --- a/docs/content/en/Getting-Started/Basic-Usage/_index.md +++ b/docs/content/en/Getting-Started/Basic-Usage/_index.md @@ -67,7 +67,6 @@ Commands: check-eask [files..] Run eask checker locate Print out Eask installed location upgrade-eask Upgrade Eask itself [aliases: upgrade-self] - Proxy Options: --proxy update proxy for HTTP and HTTPS to host [string] --http-proxy update proxy for HTTP to host [string] @@ -75,7 +74,7 @@ Proxy Options: --no-proxy set no-proxy to host [string] Options: - --version show version number [boolean] + --version output version information and exit [boolean] --help show usage instructions [boolean] --show-hidden Show hidden commands and options [boolean] -g, --global change default workspace to ~/.eask/ [boolean] diff --git a/docs/content/zh-TW/Getting-Started/Basic-Usage/_index.md b/docs/content/zh-TW/Getting-Started/Basic-Usage/_index.md index 5af884c0..80e41fca 100644 --- a/docs/content/zh-TW/Getting-Started/Basic-Usage/_index.md +++ b/docs/content/zh-TW/Getting-Started/Basic-Usage/_index.md @@ -64,7 +64,6 @@ Commands: check-eask [files..] Run eask checker locate Print out Eask installed location upgrade-eask Upgrade Eask itself [aliases: upgrade-self] - Proxy Options: --proxy update proxy for HTTP and HTTPS to host [string] --http-proxy update proxy for HTTP to host [string] @@ -72,7 +71,7 @@ Proxy Options: --no-proxy set no-proxy to host [string] Options: - --version show version number [boolean] + --version output version information and exit [boolean] --help show usage instructions [boolean] --show-hidden Show hidden commands and options [boolean] -g, --global change default workspace to ~/.eask/ [boolean] diff --git a/eask b/eask index e02f4f6f..2c5c7434 100644 --- a/eask +++ b/eask @@ -11,6 +11,8 @@ Usage: eask [options..]`; const epilogue = `For more information, find the manual at https://emacs-eask.github.io/`; +const version = `0.8.2`; + yargs .usage(usage) .scriptName('') @@ -23,7 +25,7 @@ yargs handler() { yargs.showHelp(); } }) .showHelpOnFail(true) - .version('version', 'show version number', '0.8.2') + .version('version', 'output version information and exit', version) .help('help', 'show usage instructions') .showHidden('show-hidden', 'Show hidden commands and options') .options({