[darcs-devel] [darcs #307] Make "darcs help" a real command

schwern at pobox.com via RT bugs at darcs.net
Fri Apr 1 23:52:21 PST 2005


Sat Apr 02 02:52:16 2005: New ticket: 307.
Transaction: Ticket created by schwern at pobox.com
       Queue: Darcs
     Subject: Make "darcs help" a real command
       Owner: Nobody
  Requestors: schwern at pobox.com
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=307 >

I just noticed this.

$ darcs help

darcs failed:  Invalid command 'help'!

Usage: darcs COMMAND ...
...etc...

Here I'd always assumed "darcs help" was a real command!  I'd never
bothered to look at the first few lines of output (see next bug).

It really should be a real command.  Every system should respond to "help".
In this case darcs does it unofficially.  Make it official.

This also paves the way for obvious syntax like:

  darcs help diff

which would be an alias of

  darcs diff --help






More information about the darcs-devel mailing list