diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-04-23 19:57:22 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-04-23 19:57:22 -0400 |
commit | ae6f8714912d522e8042701c30da43c6c667dfd3 (patch) | |
tree | 107c31e5239988888254622161660bf79d6bbb4c /complete | |
parent | ed059559cd465c32ee7b05b9ae46612c105a2bea (diff) |
output: remove --line-number-width flag
This commit does what no software project has ever done before: we've
outright removed a flag with no possible way to recapture its
functionality.
This flag presents numerous problems in that it never really worked well
in the first place, and completely falls over when ripgrep uses the
--no-heading output format. Well meaning users want ripgrep to fix this
by getting into the alignment business by buffering all output, but that
is a line that I refuse to cross.
Fixes #795
Diffstat (limited to 'complete')
-rw-r--r-- | complete/_rg | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg index df81790f..f91a31bc 100644 --- a/complete/_rg +++ b/complete/_rg @@ -47,7 +47,6 @@ _rg() { '--ignore-file=[specify additional ignore file]:file:_files' '(-v --invert-match)'{-v,--invert-match}'[invert matching]' '(-n -N --line-number --no-line-number)'{-n,--line-number}'[show line numbers]' - '(-N --no-line-number)--line-number-width=[specify width of displayed line number]:number of columns' '(-w -x --line-regexp --word-regexp)'{-x,--line-regexp}'[only show matches surrounded by line boundaries]' '(-M --max-columns)'{-M+,--max-columns=}'[specify max length of lines to print]:number of bytes' '(-m --max-count)'{-m+,--max-count=}'[specify max number of matches per file]:number of matches' |