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

Examples produced by the CLI don't show correctly help options #28

Closed
jkakar opened this issue Apr 28, 2014 · 1 comment
Closed

Examples produced by the CLI don't show correctly help options #28

jkakar opened this issue Apr 28, 2014 · 1 comment

Comments

@jkakar
Copy link
Contributor

jkakar commented Apr 28, 2014

The issue is related to resolving parameters in a janky way. The work
in the client generator branch has the necessary pieces to fix this.

@markpundsack filed an issue about this:

oauth-client:delete doesn't seem to understand it's primary parameter.

$ bundle exec bin/heroku-api help oauth-client:delete
Usage: heroku-api oauth-client:delete

Description:
  Delete OAuth client.

Whereas something like app:delete shows:

$ bundle exec bin/heroku-api help app:delete
Usage: heroku-api app:delete <id|name>

Description:
  Delete an existing app.
@schneems
Copy link
Collaborator

I tried reproducing this behavior and it looks like the bin/heroku-api script produces the correct output:

$ bundle exec bin/heroku-api help oauth-client:delete
Usage: heroku-api oauth-client:delete <id>

Description:
  Delete OAuth client.

Note the <id> present in this line:

Usage: heroku-api oauth-client:delete <id>

I believe we can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants