pr --columns=N' was not equivalent to pr -N' when also using

either -s or -w.

(main): Set `explicit_columns' for --columns=N,
not just for -N.  This bug has existed since the introduction
of the --columns=N option on 1998-08-15.
This commit is contained in:
Jim Meyering committed 2005-01-08 12:01:40 +00:00
1 parent aa7f16bda6
commit 91fefc7f0d
1 file changed
+1
+1
View File
@@ -916,6 +916,7 @@ main (int argc, char **argv)
optarg);
}
columns = tmp_long;
explicit_columns = true;
break;
}