21189: Revert exit code 64 to 2 for invalid command line argument.
[arvados.git] / services / keep-balance / main.go
index f9a3e1701aa7a2ae40dafc926f99a7f3a27107a0..ec1cb18ee1087063a57d63f73c2c00b5a17eab33 100644 (file)
@@ -59,7 +59,7 @@ func (command) RunCommand(prog string, args []string, stdin io.Reader, stdout, s
                fmt.Fprint(stderr,
                        "Usage error: the -commit-pulls or -commit-trash command line flags are no longer supported.\n",
                        "Use Collections.BalancePullLimit and Collections.BalanceTrashLimit instead.\n")
-               return cmd.EX_USAGE
+               return cmd.EXIT_INVALIDARGUMENT
        }
 
        // Drop our custom args that would be rejected by the generic