From: Jim Meyering Date: Sat, 8 Jan 2005 12:01:40 +0000 (+0000) Subject: `pr --columns=N' was not equivalent to `pr -N' when also using X-Git-Tag: v5.3.0~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91fefc7f0d0c9be388b8f59eb86f1b41c0988935;p=thirdparty%2Fcoreutils.git `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. --- diff --git a/src/pr.c b/src/pr.c index cae3438980..ab86114ca8 100644 --- a/src/pr.c +++ b/src/pr.c @@ -916,6 +916,7 @@ main (int argc, char **argv) optarg); } columns = tmp_long; + explicit_columns = true; break; }