Hi,

svnmucc's command line option "--config-option" was implemented in r1080198. As the revision r1080198 misses "break" in a switch case, the execution falls through to the statements in next case, which in turn displays usage message.

Attaching the patch and log message.

Thanks & Regards,
Vijayaguru


svnmucc's command line option '--config-option' behaves like 'svnmucc --help'.
As the switch case for this option misses the 'break' statement, the execution
falls through to the statements in next switch case which displays usage
message.

* tools/client-side/svnmucc/svnmucc.c
  (main): Add a 'break' statement to the switch case 'config_inline_opt'

Patch by: Vijayaguru G <vijay{_AT_}collab.net>          
Index: tools/client-side/svnmucc/svnmucc.c
===================================================================
--- tools/client-side/svnmucc/svnmucc.c	(revision 1087637)
+++ tools/client-side/svnmucc/svnmucc.c	(working copy)
@@ -922,6 +922,7 @@
                                                  pool);
           if (err)
             handle_error(err, pool);
+          break;
         case 'h':
           usage(pool, EXIT_SUCCESS);
         }

Reply via email to