Sunday, June 2, 2019

Re: :help :check inconsistent with :check

John Little wrote:

> I just struck an inconsistency that had me confused.
>
> I was watching a steadily growing log file, and with autoread set, I used the command
>
> :check
>
> and nothing happened (but for a message I didn't understand). So I went to the help and ran
>
> :help :check
>
> and got the help for the command I thought I was running. Eventually I worked out that :check is actually :checkpath, and I should have used :checktime.
>
> But surely ":h :xyz" should give the help for ":xyz", but am I missing something?

The tag of :checkpath is ":che", which is the shortest form. Apparently
for ":help :check" it finds ":checkt" or ":checktime" first.
I'll add a tag for ":check" at ":checkpath", that will fix it.

--
hundred-and-one symptoms of being an internet addict:
83. Batteries in the TV remote now last for months.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/201906021122.x52BMdJu003159%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

No comments: