- &run_something("$Cmp -s $hifile_target $new_hi || $Diff $hifile_target $new_hi 1>&2 || exit 0",
- "Diff'ing old and new .$HiSuffix files"); # NB: to stderr
+ if ( $HiDiff_flag eq 'usages' ) {
+ # lots of near-useless info; but if you want it...
+ &run_something("$Cmp -s $hifile_target $new_hi || $Diff $hifile_target $new_hi 1>&2 || exit 0",
+ "Diff'ing old and new .$HiSuffix files"); # NB: to stderr
+ } else {
+ # strip out usages, *then* run diff
+ local($hi_before) = "$Tmp_prefix.hi-before";
+ local($hi_after) = "$Tmp_prefix.hi-now";
+
+ &deUsagifyHi($hifile_target, $hi_before);
+ &deUsagifyHi($new_hi, $hi_after);
+
+ &run_something("$Cmp -s $hi_before $hi_after || $Diff $hi_before $hi_after 1>&2 || exit 0",
+ "Diff'ing old and new .$HiSuffix files"); # NB: to stderr
+ }