summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_less
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_less')
-rw-r--r--Completion/Unix/Command/_less7
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_less b/Completion/Unix/Command/_less
index 7f01952d2..cb71314a6 100644
--- a/Completion/Unix/Command/_less
+++ b/Completion/Unix/Command/_less
@@ -41,7 +41,7 @@ _arguments -S -s -A "[-+]*" \
'(-d --dumb)'{-d,--dumb}'[suppress error message if terminal is dumb]' \
'(-e -E --quit-at-eof --QUIT-AT-EOF)'{-e,--quit-at-eof}'[exit the second time end-of-file is reached]' \
'(-e -E --quit-at-eof --QUIT-AT-EOF)'{-E,--QUIT-AT-EOF}'[exit when end-of-file is reached]' \
- '(-f --force)'{-f,--force}'[force opening of non-reqular files]' \
+ '(-f --force)'{-f,--force}'[force opening of non-regular files]' \
'(-F --quit-if-one-screen)'{-F,--quit-if-one-screen}'[exit if entire file fits on first screen]' \
'(-G --HILITE-SEARCH -g --hilite-search)'{-g,--hilite-search}'[highlight only one match for searches]' \
'(-g --hilite-search -G --HILITE-SEARCH)'{-G,--HILITE-SEARCH}'[disable highlighting of search matches]' \
@@ -84,7 +84,12 @@ _arguments -S -s -A "[-+]*" \
'(-~ --tilde)'{-~,--tilde}"[don't display tildes after end of file]" \
'(-\# --shift)'{-\#+,--shift=}"[specify amount to move when scrolling horizontally]:number" \
'--follow-name[the F command changes file if the input file is renamed]' \
+ '--mouse[enable mouse input]' \
+ '--no-histdups[remove duplicates from command history]' \
+ '--rscroll=[set the character used to mark truncated lines]:character [>]' \
+ '--save-marks[retain marks across invocations of less]' \
'--use-backslash[subsequent options use backslash as escape char]' \
+ '--wheel-lines=[specify lines to move for each click of the mouse wheel]:lines' \
"$files[@]" && ret=0