You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/05/12 21:13:10 UTC
svn commit: r1102429 - /subversion/trunk/tools/client-side/svnmucc/svnmucc.c
Author: danielsh
Date: Thu May 12 19:13:10 2011
New Revision: 1102429
URL: http://svn.apache.org/viewvc?rev=1102429&view=rev
Log:
svnmucc: respect the 'help' subcommand aliases that our other tools do.
* tools/client-side/svnmucc/svnmucc.c
(main): Recognize 'h', '?', and 'help' as actions.
Modified:
subversion/trunk/tools/client-side/svnmucc/svnmucc.c
Modified: subversion/trunk/tools/client-side/svnmucc/svnmucc.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/client-side/svnmucc/svnmucc.c?rev=1102429&r1=1102428&r2=1102429&view=diff
==============================================================================
--- subversion/trunk/tools/client-side/svnmucc/svnmucc.c (original)
+++ subversion/trunk/tools/client-side/svnmucc/svnmucc.c Thu May 12 19:13:10 2011
@@ -985,6 +985,9 @@ main(int argc, const char **argv)
action->action = ACTION_PROPSETF;
else if (! strcmp(action_string, "propdel"))
action->action = ACTION_PROPDEL;
+ else if (! strcmp(action_string, "?") || ! strcmp(action_string, "h")
+ || ! strcmp(action_string, "help"))
+ usage(pool, EXIT_SUCCESS);
else
handle_error(svn_error_createf(SVN_ERR_INCORRECT_PARAMS, NULL,
"'%s' is not an action\n",