From 91fefc7f0d0c9be388b8f59eb86f1b41c0988935 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Jan 2005 12:01:40 +0000 Subject: `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. --- src/pr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/pr.c b/src/pr.c index cae343898..ab86114ca 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; } -- cgit v1.2.3-70-g09d2