Skip to content

Commit 5e2a5b7

Browse files
authored
Update README.md
1 parent 3ce1a4c commit 5e2a5b7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,6 @@ usage:
9494
int main(int argc, const char* argv[]) {
9595
ArgumentProcessorMain *pMain = new ArgumentProcessorMain();
9696
WsjcppArguments prog(argc, argv, pMain);
97-
98-
int nResult = prog.exec();
99-
if (nResult != 0) {
100-
// print help
101-
std::cout << "Try exec help" << std::endl;
102-
std::cout << prog.help();
103-
}
104-
return nResult;
97+
return prog.exec();
10598
}
10699
```

0 commit comments

Comments
 (0)