The Wayback Machine - https://web.archive.org/web/20221225095836/https://github.com/moovweb/gvm/pull/138
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respond to help command by showing usage info #138

Merged
merged 1 commit into from Dec 17, 2015

Conversation

msakrejda
Copy link
Contributor

@msakrejda msakrejda commented May 22, 2015

Has gvm respond politely to requests for help.

Before:

maciek@mothra:~$ gvm help
ERROR: Unrecognized command line argument: 'help'

After:

maciek@mothra:~$ gvm help
Usage: gvm [command]

Description:
  GVM is the Go Version Manager

Commands:
  version    - print the gvm version number
  get        - gets the latest code (for debugging)
  use        - select a go version to use
  diff       - view changes to Go root
  help       - display this usage text
  implode    - completely remove gvm
  install    - install go versions
  uninstall  - uninstall go versions
  cross      - install go cross compilers
  linkthis   - link this directory into GOPATH
  list       - list installed go versions
  listall    - list available versions
  alias      - manage go version aliases
  pkgset     - manage go packages sets
  pkgenv     - edit the environment for a package set

P.S.: thanks for gvm; it's neat!

jbussdieker added a commit that referenced this pull request Dec 17, 2015
Respond to help command by showing usage info
@jbussdieker jbussdieker merged commit 680e356 into moovweb:master Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants