Author: rinrab
Date: Sun Jun  1 11:25:24 2025
New Revision: 1926034

URL: http://svn.apache.org/viewvc?rev=1926034&view=rev
Log:
svnmucc: Show usage instead of help if no actions were passed, to make
it more similar to svn and other programs which show a one-line error in
this case.

* subversion/svnmucc/svnmucc.c
  (sub_main): Call usage() instead of help().

Modified:
    subversion/trunk/subversion/svnmucc/svnmucc.c

Modified: subversion/trunk/subversion/svnmucc/svnmucc.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/svnmucc/svnmucc.c?rev=1926034&r1=1926033&r2=1926034&view=diff
==============================================================================
--- subversion/trunk/subversion/svnmucc/svnmucc.c (original)
+++ subversion/trunk/subversion/svnmucc/svnmucc.c Sun Jun  1 11:25:24 2025
@@ -939,7 +939,7 @@ sub_main(int *exit_code,
   if (! actions->nelts)
     {
       *exit_code = EXIT_FAILURE;
-      help(stderr, pool);
+      usage(pool);
       return SVN_NO_ERROR;
     }
 


Reply via email to