diff options
author | Paul Fox <pgf@brightstareng.com> | 2008-03-06 16:26:12 +0000 |
---|---|---|
committer | Paul Fox <pgf@brightstareng.com> | 2008-03-06 16:26:12 +0000 |
commit | 35e9c5d83ada1fea40798365a1b4c728f64ded98 (patch) | |
tree | baf13f0fc18eafa19eb1f394310c3dd0be70e76b /include | |
parent | c51fc7bed6d6555997fdfb3879f42c6b1191465c (diff) | |
download | busybox-w32-35e9c5d83ada1fea40798365a1b4c728f64ded98.tar.gz busybox-w32-35e9c5d83ada1fea40798365a1b4c728f64ded98.tar.bz2 busybox-w32-35e9c5d83ada1fea40798365a1b4c728f64ded98.zip |
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.h | 6 |
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 | |||
4237 | #define vi_full_usage \ | 4237 | #define vi_full_usage \ |
4238 | "Edit FILE" \ | 4238 | "Edit FILE" \ |
4239 | "\n\nOptions:\n" \ | 4239 | "\n\nOptions:\n" \ |
4240 | " -R Read-only - do not write to the file" | 4240 | USE_FEATURE_VI_COLON( \ |
4241 | " -c Initial command to run ($EXINIT also available)\n") \ | ||
4242 | USE_FEATURE_VI_READONLY( \ | ||
4243 | " -R Read-only - do not write to the file\n") \ | ||
4244 | " -H Short help regarding available features" | ||
4241 | 4245 | ||
4242 | #define vlock_trivial_usage \ | 4246 | #define vlock_trivial_usage \ |
4243 | "[OPTIONS]" | 4247 | "[OPTIONS]" |