Skip to content

Commit e3a22a7

Browse files
committed
repl: Reformat switch
1 parent 24f2117 commit e3a22a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

repl/main.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ do_parse_command_line(int argc, char** argv)
108108
// Parse command-line options.
109109
int ch;
110110
while((ch = ::getopt(argc, argv, "+hIiO::Vv")) != -1) {
111-
switch(ch) {
111+
switch(ch)
112+
{
112113
case 'h':
113114
help = true;
114115
continue;
@@ -136,7 +137,7 @@ do_parse_command_line(int argc, char** argv)
136137
case 'v':
137138
verbose = true;
138139
continue;
139-
}
140+
}
140141

141142
// `getopt()` will have written an error message to standard error.
142143
exit_printf(exit_invalid_argument, "Try `%s -h` for help.", argv[0]);

0 commit comments

Comments
 (0)