aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-08-05 23:53:48 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-08-18 21:29:01 +0200
commitb2967a0320ec327d1271bb75d96156a5ff1c8758 (patch)
tree5ba4f5b2ca81d8301039d07d42773b1973ebb92d /src/nvim/testdir
parentd7bc55c72d2efa99fc80ae2e0d421acfb798d968 (diff)
downloadrneovim-b2967a0320ec327d1271bb75d96156a5ff1c8758.tar.gz
rneovim-b2967a0320ec327d1271bb75d96156a5ff1c8758.tar.bz2
rneovim-b2967a0320ec327d1271bb75d96156a5ff1c8758.zip
nvim -h: omit special-case options
Group some options, and sort them alphabetically. `nvim -h` should fit on one (smallish) screen. Uncommon options don't need to be here, they live in the :help.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_startup.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim
index 64f7f31294..5a38178bd5 100644
--- a/src/nvim/testdir/test_startup.vim
+++ b/src/nvim/testdir/test_startup.vim
@@ -76,11 +76,11 @@ func Test_help_arg()
let found = []
for line in lines
if line =~ '-R.*Read-only mode'
- call add(found, 'Readonly mode')
+ call add(found, 'Readonly mode')
endif
" Watch out for a second --version line in the Gnome version.
- if line =~ '--version.*Print version information and exit'
- call add(found, "--version")
+ if line =~ '--version.*Print version information'
+ call add(found, "--version")
endif
endfor
call assert_equal(['Readonly mode', '--version'], found)