From: Arnaud Giersch Date: Thu, 15 Sep 2011 13:59:05 +0000 (+0200) Subject: Move options at proper place in switch..case. X-Git-Tag: v0.1~7 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/ace751f59bce350df42188de8389e0b47955090d Move options at proper place in switch..case. --- diff --git a/options.cpp b/options.cpp index cac9752..e24e0f9 100644 --- a/options.cpp +++ b/options.cpp @@ -237,12 +237,6 @@ bool opt::parse_args(int* argc, char* argv[]) case 'b': opt::bookkeeping = !opt::bookkeeping; break; - case 'e': - opt::exit_on_close = !opt::exit_on_close; - break; - case 'h': - opt::help_requested++; - break; case 'c': try { opt::comp_cost = cost_func(optarg); @@ -267,6 +261,12 @@ bool opt::parse_args(int* argc, char* argv[]) case 'D': PARSE_ARG(opt::comp_time_delay); break; + case 'e': + opt::exit_on_close = !opt::exit_on_close; + break; + case 'h': + opt::help_requested++; + break; case 'i': PARSE_ARG(opt::lb_maxiter); break;