[Hackage] #169: Add --version

Hackage trac at galois.com
Tue Dec 18 05:43:30 EST 2007

#169: Add --version
  Reporter:  guest          |        Owner:        
      Type:  enhancement    |       Status:  new   
  Priority:  normal         |    Milestone:        
 Component:  cabal-install  |      Version:  1.2.0 
  Severity:  normal         |   Resolution:        
  Keywords:                 |   Difficulty:  normal
Ghcversion:  6.6            |     Platform:  Linux 
Comment (by duncan):

 Now done.

 $ cabal --help
 Usage: cabal [GLOBAL FLAGS]
    or: cabal COMMAND [FLAGS]

 Global flags:
  -h --help            Show this help text
  -V --version         Print version information
     --numeric-version Print just the version number

   install      Installs a list of packages.
   info         Emit some info about dependency resolution
   list         List available packages on the server (cached).
   update       Updates list of known packages
   fetch        Downloads packages for later installation or study.
   configure    Prepare to build the package.
   build        Make this package ready for installation.
   copy         Copy the files into the install locations.
   haddock      Generate Haddock HTML documentation.
   clean        Clean up after a build.
   sdist        Generate a source distribution file (.tar.gz).
   hscolour     Generate HsColour colourised code, in HTML format.
   register     Register this package with the compiler.
   test         Run the test suite, if any (configure with UserHooks).

 Typical step for installing Cabal packages:
   cabal install [PACKAGES]

 Occasionally you need to update the list of available packages:
   cabal update

 For more information about a command, try 'cabal COMMAND --help'.
 This program is the command line interface to the Haskell Cabal
 See http://www.haskell.org/cabal/ for more information.

 $ cabal --version
 cabal-install version 0.4.1
 using version 1.3.2 of the Cabal library

 $ cabal --numeric-version

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/169#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list