Merge pull request #782 from davidhcefx/master
Update nano to version 5.4
This commit is contained in:
commit
c7baec49d3
|
@ -16,9 +16,11 @@ _arguments -s -C \
|
||||||
{-L,--nonewlines}'[Do not add an automatic newline]'\
|
{-L,--nonewlines}'[Do not add an automatic newline]'\
|
||||||
{-M,--trimblanks}'[Trim tail spaces when hard-wrapping]'\
|
{-M,--trimblanks}'[Trim tail spaces when hard-wrapping]'\
|
||||||
{-N,--noconvert}'[Do not convert files from DOS/Mac format]'\
|
{-N,--noconvert}'[Do not convert files from DOS/Mac format]'\
|
||||||
|
{-O,--bookstyle}'[Leading whitespace means new paragraph]'\
|
||||||
{-P,--positionlog}'[Log & read location of cursor position]'\
|
{-P,--positionlog}'[Log & read location of cursor position]'\
|
||||||
{-Q+,--quotestr=}'[Regular expression to match quoting]:str'\
|
{-Q+,--quotestr=}'[Regular expression to match quoting]:str'\
|
||||||
{-R,--restricted}'[Restricted mode]'\
|
{-R,--restricted}'[Restricted mode]'\
|
||||||
|
{-S,--softwrap}'[Display overlong lines on multiple rows]'\
|
||||||
{-T+,--tabsize=}'[Set width of a tab to cols columns]:init'\
|
{-T+,--tabsize=}'[Set width of a tab to cols columns]:init'\
|
||||||
{-U,--quickblank}'[Do quick statusbar blanking]'\
|
{-U,--quickblank}'[Do quick statusbar blanking]'\
|
||||||
'(- *)'{-V,--version}'[Print version information and exit]'\
|
'(- *)'{-V,--version}'[Print version information and exit]'\
|
||||||
|
@ -42,13 +44,16 @@ _arguments -s -C \
|
||||||
{-n,--noread}'[Do not read the file (only write it)]'\
|
{-n,--noread}'[Do not read the file (only write it)]'\
|
||||||
{-o+,--operatingdir=}'[Set operating directory]:dir:_dirs'\
|
{-o+,--operatingdir=}'[Set operating directory]:dir:_dirs'\
|
||||||
{-p,--preserve}'[Preserve XON (^Q) and XOFF (^S) keys]'\
|
{-p,--preserve}'[Preserve XON (^Q) and XOFF (^S) keys]'\
|
||||||
|
{-q,--indicator}'[Show a position+portion indicator]'\
|
||||||
{-r+,--fill=}'[Set width for hard-wrap and justify]:init'\
|
{-r+,--fill=}'[Set width for hard-wrap and justify]:init'\
|
||||||
{-s+,--speller=}'[Enable alternate speller]:prog'\
|
{-s+,--speller=}'[Enable alternate speller]:prog'\
|
||||||
{-t,--tempfile}'[Auto save on exit, do not prompt]'\
|
{-t,--tempfile}'[Auto save on exit, do not prompt]'\
|
||||||
{-u,--unix}'[Save a file by default in Unix format]'\
|
{-u,--unix}'[Save a file by default in Unix format]'\
|
||||||
|
{-v,--view}'[View mode (read-only)]'\
|
||||||
{-w,--nowrap}'[Do not hard-wrap long lines default]'\
|
{-w,--nowrap}'[Do not hard-wrap long lines default]'\
|
||||||
{-x,--nohelp}'[Do not show the two help lines]'\
|
{-x,--nohelp}'[Do not show the two help lines]'\
|
||||||
{-y,--afterends}'[Make Ctrl+Right stop at word ends]'\
|
{-y,--afterends}'[Make Ctrl+Right stop at word ends]'\
|
||||||
{-z,--suspend}'[Enable suspension]'\
|
{-z,--suspend}'[Enable suspension]'\
|
||||||
|
{-%,--stateflags}'[Show some states on the title bar]'\
|
||||||
{-$,--softwrap}'[Enable soft line wrapping]'\
|
{-$,--softwrap}'[Enable soft line wrapping]'\
|
||||||
'(-t -q)*:file:_files'
|
'(-t -q)*:file:_files'
|
||||||
|
|
Loading…
Reference in New Issue