You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kobayashi Noritada <no...@dolphin.c.u-tokyo.ac.jp> on 2006/06/30 01:38:56 UTC

Re: svn commit: r20301 - in trunk/subversion: svn svnadmin svndumpfilter svnlook svn

Hi,

> Author: julianfoad
> Date: Thu Jun 29 16:28:09 2006
> New Revision: 20301

> Modified: trunk/subversion/svndumpfilter/main.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/svndumpfilter/main.c?pathrev=20301&r1=20300&r2=20301
> ==============================================================================
> --- trunk/subversion/svndumpfilter/main.c       (original)
> +++ trunk/subversion/svndumpfilter/main.c       Thu Jun 29 16:28:09 2006
> (snip)
> @@ -886,6 +886,7 @@
>    struct svndumpfilter_opt_state *opt_state = baton;
>    const char *header =
>      _("general usage: svndumpfilter SUBCOMMAND [ARGS & OPTIONS ...]\n"
> +      "               svndumpfilter --version\n"
>        "Type 'svndumpfilter help <subcommand>' for help on a "
>        "specific subcommand.\n"

I think it is better we have another line

         "Type 'svndumpfilter --version' to see the program version.\n"

here, as doing for other commands.

>        "\n"

Thanks,

-nori

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: r20301 - in trunk/subversion: svn svnadmin svndumpfilter svnlook svn

Posted by Kobayashi Noritada <no...@dolphin.c.u-tokyo.ac.jp>.
Hi,

>>>     _("general usage: svndumpfilter SUBCOMMAND [ARGS & OPTIONS ...]\n"
>>>+      "               svndumpfilter --version\n"
>>>       "Type 'svndumpfilter help <subcommand>' for help on a "
>>>       "specific subcommand.\n"
>>
>> I think it is better we have another line
>>
>>          "Type 'svndumpfilter --version' to see the program version.\n"
>>
>> here, as doing for other commands.
>
>We could do.  I thought that would be redundant.  Note that "svnserve" and
>"svnversion" don't output any "Type '...' for ..." lines, they just output a
>list of valid options:

Yes, those two commands do not require any subcommands by nature,
unlike other commands.

All right, I understand.  It is certainly redundant; everyone can know
'svndumpfilter --version' outputs version information and it actually only
does so...  Thank you for answering my comment.

Regards,

-nori

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: r20301 - in trunk/subversion: svn svnadmin svndumpfilter svnlook svn

Posted by Julian Foad <ju...@btopenworld.com>.
Kobayashi Noritada wrote:
>>     _("general usage: svndumpfilter SUBCOMMAND [ARGS & OPTIONS ...]\n"
>>+      "               svndumpfilter --version\n"
>>       "Type 'svndumpfilter help <subcommand>' for help on a "
>>       "specific subcommand.\n"
> 
> I think it is better we have another line
> 
>          "Type 'svndumpfilter --version' to see the program version.\n"
> 
> here, as doing for other commands.

We could do.  I thought that would be redundant.  Note that "svnserve" and 
"svnversion" don't output any "Type '...' for ..." lines, they just output a 
list of valid options:

> usage: svnserve [options]
> 
> Valid options:
>   -d [--daemon]            : daemon mode
>   --listen-port arg        : listen port (for daemon mode)
>   --listen-host arg        : listen hostname or IP address (for daemon mode)
>   --foreground             : run in foreground (useful for debugging)
>   -h [--help]              : display this help
>   --version                : show version information
>   -i [--inetd]             : inetd mode
[...]

> usage: svnversion [OPTIONS] [WC_PATH [TRAIL_URL]]
> 
>   Produce a compact 'version number' for the working copy path
[...]
> 
> Valid options:
>   -n [--no-newline]        : do not output the trailing newline
>   -c [--committed]         : last changed rather than current revisions
>   -h [--help]              : display this help
>   --version                : show version information

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org