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

Support 'cabal help' in addition to 'cabal --help' #265

Closed
bos opened this issue May 24, 2012 · 1 comment
Closed

Support 'cabal help' in addition to 'cabal --help' #265

bos opened this issue May 24, 2012 · 1 comment

Comments

@bos
Copy link
Contributor

bos commented May 24, 2012

(Imported from Trac #272, reported by @tibbe on 2008-04-29)

Many tools with a Cabal like interface (e.g. darcs, git, subversion, perforce) support

<program name> help [<command>]
where leaving out the command gives the same behavior as
<program name> --help
Supporting the same interface as may other tools would be nice for new users (who are likely to type help!) and experienced users as well (same syntax for all your tools). The first, and probably easiest thing would be to just support 'cabal help' but I would be nice with 'cabal help <command>' as well.
@bos
Copy link
Contributor Author

bos commented May 24, 2012

(Imported comment by @dcoutts on 2008-04-29)

Done!

Wed Apr 30 14:37:40 BST 2008  Duncan Coutts <duncan@haskell.org>
  * Add help command as per ticket #272
  "cabal help" behaves like "cabal --help"
  "cabal help cmd" behaves like "cabal cmd --help"
  Should still work with command line completion.

@bos bos closed this as completed May 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant