aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2008-03-06 16:26:12 +0000
committerPaul Fox <pgf@brightstareng.com>2008-03-06 16:26:12 +0000
commit35e9c5d83ada1fea40798365a1b4c728f64ded98 (patch)
treebaf13f0fc18eafa19eb1f394310c3dd0be70e76b /include
parentc51fc7bed6d6555997fdfb3879f42c6b1191465c (diff)
downloadbusybox-35e9c5d83ada1fea40798365a1b4c728f64ded98.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/usage.h6
1 files changed, 5 insertions, 1 deletions
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]"