summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-05-31 22:22:17 +0000
committerBram Moolenaar <Bram@vim.org>2005-05-31 22:22:17 +0000
commit54ee775e9d147f8751f38b39e22b1e0b6b9e445d (patch)
treebf6a49e78703aba9a0e8da498485d6c2ffa15e48 /src/main.c
parent5c06f8b043e413d887ceb1af850ac7ba5034151e (diff)
downloadvim-git-54ee775e9d147f8751f38b39e22b1e0b6b9e445d.tar.gz
updated for version 7.0077v7.0077
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index eb9aa2863..2bed19281 100644
--- a/src/main.c
+++ b/src/main.c
@@ -813,6 +813,12 @@ main
case 'V': /* "-V{N}" Verbose level */
/* default is 10: a little bit verbose */
p_verbose = get_number_arg((char_u *)argv[0], &argv_idx, 10);
+ if (argv[0][argv_idx] != NUL)
+ {
+ set_option_value((char_u *)"verbosefile", 0L,
+ (char_u *)argv[0] + argv_idx, 0);
+ argv_idx = STRLEN(argv[0]);
+ }
break;
case 'v': /* "-v" Vi-mode (as if called "vi") */