summaryrefslogtreecommitdiff
path: root/cmd/goaes/commands/encrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/goaes/commands/encrypt.go')
-rw-r--r--cmd/goaes/commands/encrypt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/goaes/commands/encrypt.go b/cmd/goaes/commands/encrypt.go
index 6f5c1fb..db924ee 100644
--- a/cmd/goaes/commands/encrypt.go
+++ b/cmd/goaes/commands/encrypt.go
@@ -16,7 +16,7 @@ func Encrypt(ctx context.Context, cmd *cli.Command) error {
destination := cmd.StringArg("destination")
if source == "" {
- return cli.Exit("missing source file", 2)
+ return cli.Exit("missing source file", invalidArgsExit)
}
if destination == "" {