Skip to content

Commit b4df9a3

Browse files
committed
commit to test workflow behaviour
1 parent d179439 commit b4df9a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ int main(int argc, char* argv[]) {
5151
if (invalid_color_arg(grcpp_options)) {print_help_msg(argv[0]); return -1;}
5252
if (grcpp_options.help || (other.empty() && !grcpp_options.getconf)) {print_help_msg(argv[0]); return 0;}
5353
//TODO: Rewrite the next 3 lines.
54-
if (!grcpp_options.err) {grcpp_options.out = true;} //lines 67 - 73
55-
if (grcpp_options.err && !grcpp_options.out) {grcpp_options.err = true; grcpp_options.out = false;} //lines 67 - 73
56-
if (grcpp_options.err && grcpp_options.out) {grcpp_options.err = true; grcpp_options.out = true;} //lines 67 - 73
54+
if (!grcpp_options.err) {grcpp_options.out = true;} //grc lines 67 - 73
55+
if (grcpp_options.err && !grcpp_options.out) {grcpp_options.err = true; grcpp_options.out = false;} //grc lines 67 - 73
56+
if (grcpp_options.err && grcpp_options.out) {grcpp_options.err = true; grcpp_options.out = true;} //grc lines 67 - 73
5757
//from here on we know, that the grcpp_options is properly setup, other isnt empty and help isnt needed
5858
if (grcpp_options.confname.empty()) {
5959
//TODO: Make this not os dependant.

0 commit comments

Comments
 (0)