Calling --test without --debug is not useful, so
make it implicit.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
.
.TP
.B \-\-test
-Do not actually change anything on the system, i.e., the Clocks or
-adjtime file. This is useful, especially in conjunction with
-.BR \%\-\-debug ,
-in learning about the internal operations of hwclock.
+Do not actually change anything on the system, that is, the Clocks or
+.I @ADJTIME_PATH@
+.RB ( \%\-\-debug
+is implicit with this option).
.
.TP
.B \-\-update\-drift
" --noadjfile do not use %1$s\n"), _PATH_ADJTIME);
printf(_(
" --adjfile <file> use an alternate file to %1$s\n"), _PATH_ADJTIME);
- puts(_(" --test dry run; use -D to view what would have happened"));
+ puts(_(" --test dry run; implies --debug"));
puts(_(" -D, --debug display more details"));
fputs(USAGE_SEPARATOR, stdout);
printf(USAGE_HELP_OPTIONS(22));
break;
case OPT_TEST:
ctl.testing = 1; /* --test */
+ ctl.debug++;
break;
case OPT_DATE:
ctl.date_opt = optarg; /* --date */