Skip to content

Commit 26ddb03

Browse files
committed
Use a distinct return code if no options provided
1 parent 3e00f87 commit 26ddb03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nqc/nqc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ RCX_Result ProcessCommandLine(int argc, char ** argv)
513513

514514
// check if we did anything (compile and/or actions)
515515
if (optionsOK) {
516-
return kUsageError;
516+
return kNoOptions;
517517
}
518518

519519
return result;

0 commit comments

Comments
 (0)