From 35e9c5d83ada1fea40798365a1b4c728f64ded98 Mon Sep 17 00:00:00 2001
From: Paul Fox <pgf@brightstareng.com>
Date: Thu, 6 Mar 2008 16:26:12 +0000
Subject: fixups to vi usage, and move the initial redraw() past the execution
 of commands supplied by -c or EXINIT, so their effect is displayed correctly.

---
 include/usage.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'include')

diff --git a/include/usage.h b/include/usage.h
index 4eac17401..f575f4676 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -4237,7 +4237,11 @@ USE_FEATURE_RUN_PARTS_FANCY("\n	-l	Prints names of all matching files even when
 #define vi_full_usage \
        "Edit FILE" \
        "\n\nOptions:\n" \
-       "	-R	Read-only - do not write to the file"
+	USE_FEATURE_VI_COLON( \
+       "	-c	Initial command to run ($EXINIT also available)\n") \
+	USE_FEATURE_VI_READONLY( \
+       "	-R	Read-only - do not write to the file\n") \
+       "	-H	Short help regarding available features" 
 
 #define vlock_trivial_usage \
        "[OPTIONS]"
-- 
cgit v1.2.3