From ace751f59bce350df42188de8389e0b47955090d Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 15 Sep 2011 15:59:05 +0200 Subject: [PATCH] Move options at proper place in switch..case. --- options.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; -- 2.39.5