The manpage for vi(1) has a small error for the :Visual/:visual command.  The
'V' can be capital or lowercase, followed by an 'i' and optionally 'sual'. But
the manpage shows the command as [Vi]i[sual] instead of [Vv]i[sual].

The usage text in vi confirms the correct syntax (as does the roff

usr.bin/vi/ex/ex_cmd.c - line 386:

        {"visual",      ex_edit,        E_NEWSCREEN,
            "[Vv]i[sual][!] [+cmd] [file]",
            "edit another file (from vi mode only)"},


Index: docs/USD.doc/
RCS file: /cvs/src/usr.bin/vi/docs/USD.doc/,v
retrieving revision 1.74
diff -u -p -r1.74 vi.1
--- docs/USD.doc/    22 Aug 2017 20:27:18 -0000      1.74
+++ docs/USD.doc/    3 Feb 2018 02:02:38 -0000
@@ -2200,7 +2200,7 @@ Enter
 .Nm vi .
 .It Xo
-.Op Cm Vi Ns
+.Op Cm Vv Ns
 .Cm i Ns Op Cm sual Ns
 .Op Cm !\&
 .Op Ar +cmd

Reply via email to