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

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

1 participant

@bos
Haskell member

(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
Haskell member

(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 May 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment