Commit a0bcacbb a0bcacbbc39fb9022263fa8175b15fe7195b1fa5 by Sergey Poznyakoff

(opt_handler): Removed superfluous case '+'

1 parent ac4d2786
...@@ -60,7 +60,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -60,7 +60,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
60 { 60 {
61 switch (key) 61 switch (key)
62 { 62 {
63 case '+':
64 case ARG_FOLDER: 63 case ARG_FOLDER:
65 current_folder = arg; 64 current_folder = arg;
66 break; 65 break;
......
...@@ -101,7 +101,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -101,7 +101,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
101 wh_env.editor = arg; 101 wh_env.editor = arg;
102 break; 102 break;
103 103
104 case '+':
105 case ARG_FOLDER: 104 case ARG_FOLDER:
106 current_folder = arg; 105 current_folder = arg;
107 break; 106 break;
......
...@@ -157,7 +157,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -157,7 +157,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
157 print_total = is_true (arg); 157 print_total = is_true (arg);
158 break; 158 break;
159 159
160 case '+':
161 case ARG_FOLDER: 160 case ARG_FOLDER:
162 push_folder = mh_current_folder (); 161 push_folder = mh_current_folder ();
163 current_folder = arg; 162 current_folder = arg;
......
...@@ -97,7 +97,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -97,7 +97,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
97 changecur = is_true(arg); 97 changecur = is_true(arg);
98 break; 98 break;
99 99
100 case '+':
101 case ARG_FOLDER: 100 case ARG_FOLDER:
102 append_folder = arg; 101 append_folder = arg;
103 break; 102 break;
......
...@@ -76,7 +76,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -76,7 +76,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
76 { 76 {
77 switch (key) 77 switch (key)
78 { 78 {
79 case '+':
80 case ARG_FOLDER: 79 case ARG_FOLDER:
81 current_folder = arg; 80 current_folder = arg;
82 break; 81 break;
......
...@@ -77,7 +77,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -77,7 +77,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
77 { 77 {
78 switch (key) 78 switch (key)
79 { 79 {
80 case '+':
81 case ARG_FOLDER: 80 case ARG_FOLDER:
82 current_folder = arg; 81 current_folder = arg;
83 break; 82 break;
......
...@@ -41,7 +41,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -41,7 +41,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
41 { 41 {
42 switch (key) 42 switch (key)
43 { 43 {
44 case '+':
45 case ARG_FOLDER: 44 case ARG_FOLDER:
46 current_folder = arg; 45 current_folder = arg;
47 break; 46 break;
......
...@@ -146,7 +146,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -146,7 +146,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
146 146
147 switch (key) 147 switch (key)
148 { 148 {
149 case '+':
150 case ARG_FOLDER: 149 case ARG_FOLDER:
151 current_folder = arg; 150 current_folder = arg;
152 break; 151 break;
......
...@@ -149,7 +149,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -149,7 +149,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
149 wh_env.editor = arg; 149 wh_env.editor = arg;
150 break; 150 break;
151 151
152 case '+':
153 case ARG_FOLDER: 152 case ARG_FOLDER:
154 current_folder = arg; 153 current_folder = arg;
155 break; 154 break;
......
...@@ -59,7 +59,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -59,7 +59,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
59 { 59 {
60 switch (key) 60 switch (key)
61 { 61 {
62 case '+':
63 case ARG_FOLDER: 62 case ARG_FOLDER:
64 explicit_folder = 1; 63 explicit_folder = 1;
65 current_folder = arg; 64 current_folder = arg;
......
...@@ -41,7 +41,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -41,7 +41,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
41 { 41 {
42 switch (key) 42 switch (key)
43 { 43 {
44 case '+':
45 case ARG_FOLDER: 44 case ARG_FOLDER:
46 current_folder = arg; 45 current_folder = arg;
47 break; 46 break;
......
...@@ -88,7 +88,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) ...@@ -88,7 +88,6 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state)
88 { 88 {
89 switch (key) 89 switch (key)
90 { 90 {
91 case '+':
92 case ARG_FOLDER: 91 case ARG_FOLDER:
93 current_folder = arg; 92 current_folder = arg;
94 break; 93 break;
......