Ticket #272 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: tibbe Owned by:
Priority: normal Milestone:
Component: cabal-install tool Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.2 Platform:

Description

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.

Change History

Changed 5 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

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.
Note: See TracTickets for help on using tickets.