diff options
author | Jim Meyering <jim@meyering.net> | 2005-01-08 12:01:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-01-08 12:01:40 +0000 |
commit | 91fefc7f0d0c9be388b8f59eb86f1b41c0988935 (patch) | |
tree | b6c9c6521f2a87ebc70b9f47126df5bbbb5d0e02 | |
parent | aa7f16bda693932de34b4a45fb5d00dad60a818b (diff) | |
download | coreutils-91fefc7f0d0c9be388b8f59eb86f1b41c0988935.tar.xz |
`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.
-rw-r--r-- | src/pr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -916,6 +916,7 @@ main (int argc, char **argv) optarg); } columns = tmp_long; + explicit_columns = true; break; } |