Skip to content

Commit 792cc11

Browse files
committed
Fix code style issue
1 parent c25535c commit 792cc11

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,10 @@ bool GET_OptionChar(int opt)
8484

8585
int main(int argc, char* argv[])
8686
{
87-
if(argc == 1){
87+
if(argc <= 1){
8888
/* no arguments */
8989
printUsage();
90-
}
91-
else{
90+
} else {
9291
int opt;
9392
while((opt = getopt_long(argc, argv, ":cxnhSV", long_options, NULL)) != -1)
9493
if (!GET_OptionChar(opt))

0 commit comments

Comments
 (0)