[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Help stuff (was Re: PATCH: process arguments in subcommands instead of main())

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2001-03-19 02:46:51 CET

> I was under the impression that the subcommand usage text
> needed to be part of the svn_cl__cmd_desc_t table.
> How else would we lookup a subcommand by name and
> then print it's usage? We need to support printing
> the usage text in two ways:
>
> 1. When the user call the subcommand with the incorrect
> number of arguments `svn delete`
>
> 2. When the user asks for the help text for a subcommand.
> `svn help delete`

Yup. You're right... moving it won't support the second. I'll strike
that from the TODO list and move on to other things.

-Fitz
Received on Sat Oct 21 14:36:26 2006

This is an archived mail posted to the Subversion Dev mailing list.