From: Frank Mori Hess Date: Sat, 19 Jul 2003 19:16:41 +0000 (+0000) Subject: tell user when command line options are being forced on or off X-Git-Tag: r0_7_21~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35ae28907b8882736df7a81999756b5493bb24e6;p=comedilib.git tell user when command line options are being forced on or off --- diff --git a/comedi_calibrate/comedi_calibrate.c b/comedi_calibrate/comedi_calibrate.c index 7df3a55..31e9bf7 100644 --- a/comedi_calibrate/comedi_calibrate.c +++ b/comedi_calibrate/comedi_calibrate.c @@ -230,24 +230,30 @@ ok: "Please file a bug report at http://bugs.comedi.org/ and attach this output.\n" "This output will also allow comedi_calibrate to execute more\n" "quickly in the future.\n"); - if(verbose<1)verbose=1; + if(verbose<1){ + verbose=1; + printf("Forcing option: --verbose\n"); + } if(device_status==STATUS_UNKNOWN){ options.do_reset=1; options.do_dump=1; options.do_calibrate=0; options.do_results=0; + printf("Forcing options: --reset --dump --no-calibrate --no-results\n"); } if(device_status==STATUS_SOME){ options.do_reset=1; options.do_dump=1; options.do_calibrate=1; options.do_results=1; + printf("Forcing options: --reset --dump --calibrate --results\n"); } if(device_status==STATUS_GUESS){ options.do_reset=1; options.do_dump=1; options.do_calibrate=1; options.do_results=1; + printf("Forcing options: --reset --dump --calibrate --results\n"); } } if(verbose>=0){