Code

status: fix switching to the main view when starting in status view
authorJonas Fonseca <fonseca@diku.dk>
Fri, 17 Aug 2007 22:16:49 +0000 (00:16 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Fri, 17 Aug 2007 22:17:20 +0000 (00:17 +0200)
tig.c

diff --git a/tig.c b/tig.c
index f7f50caa171f7b2c091b4d25295dd8ee558443be..5b458447aae5ce4c01119262fa9991469738d914 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -500,7 +500,7 @@ parse_options(int argc, char *argv[])
 
                if (!strcmp(opt, "-S")) {
                        opt_request = REQ_VIEW_STATUS;
-                       break;
+                       continue;
                }
 
                if (check_option(opt, 'n', "line-number", OPT_INT, &opt_num_interval)) {