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

apps:create -h/--help create apps called -h and --help #162

Open
thomasvandoren opened this issue May 11, 2016 · 0 comments
Open

apps:create -h/--help create apps called -h and --help #162

thomasvandoren opened this issue May 11, 2016 · 0 comments
Labels

Comments

@thomasvandoren
Copy link

Repro steps:

$ aptible apps:create --help
App --help created!
$ aptible apps:create --help
Validation failed: Handle has already been taken
$ aptible apps:create -h
App -h created!
$ aptible apps:create -h
Validation failed: Handle has already been taken

Expected: Help information for apps:create is displayed
Actual: apps named -h and --help are created

The correct behavior is to call aptible help apps:create. It seems like unexpected behavior to create apps called -h or --help, though.

It's worth noting that this does not happen with apps:deprovision. With apps:deprovision it seems to get an argument parsing error:

$ aptible apps:deprovision -h
ERROR: "aptible apps:deprovision" was called with arguments ["-h"]
Usage: "aptible apps:deprovision"
$ aptible apps:deprovision --app -h
ERROR: "aptible apps:deprovision" was called with arguments ["-h"]
Usage: "aptible apps:deprovision"
@wcpines wcpines added the bug label Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants