Should this have been done on the stable branch?

Martin Kersten wrote:
> Update of /cvsroot/monetdb/MonetDB5/src/tools
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30964
> 
> Modified Files:
>       stethoscope.mx 
> Log Message:
> The arguments don't have alternatives to worry about.
> 
> 
> U stethoscope.mx
> Index: stethoscope.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB5/src/tools/stethoscope.mx,v
> retrieving revision 1.35
> retrieving revision 1.36
> diff -u -d -r1.35 -r1.36
> --- stethoscope.mx    20 Mar 2009 13:41:48 -0000      1.35
> +++ stethoscope.mx    12 Apr 2009 20:35:37 -0000      1.36
> @@ -258,36 +258,26 @@
>      };
>       for(;;){
>               int option_index=0;
> -             int c=  getopt_long(argc, argv, "d:u:P:p:?:h",
> +             int c=  getopt_long(argc, argv, "d:u:P:p:?:h:g",
>                      long_options, &option_index);
>               if( c == -1)
>                       break;
>               switch(c){
>               case 'd':
> -                     if (strcmp(long_options[option_index].name, "dbname") 
> == 0) {
> -                             dbname= optarg;
> -                             break;
> -                     }
> +                     dbname= optarg;
> +                     break;
>               case 'u':
> -                     if (strcmp(long_options[option_index].name, "user") == 
> 0) {
> -                             user= optarg;
> -                             break;
> -                     }
> +                     user= optarg;
> +                     break;
>               case 'P':
> -                     if (strcmp(long_options[option_index].name, "password") 
> == 0) {
> -                             password= optarg;
> -                             break;
> -                     }
> +                     password= optarg;
> +                     break;
>               case 'p':
> -                     if (strcmp(long_options[option_index].name, "port") == 
> 0) {
> -                             portnr= atol(optarg);
> -                             break;
> -                     }
> +                     portnr= atol(optarg);
> +                     break;
>               case 'g':
> -                     if (strcmp(long_options[option_index].name, "gnuplot") 
> == 0) {
> -                             gnuplot= TRUE;
> -                             break;
> -                     }
> +                     gnuplot= TRUE;
> +                     break;
>               case 'h':
>                       if (strcmp(long_options[option_index].name, "help") == 
> 0) {
>                               printf("help\n");
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Monetdb-checkins mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins


-- 
Sjoerd Mullender

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to