From c2c857fd19f364fc257e467044cff88db330589c Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Thu, 8 Jan 2026 18:42:05 -0500 Subject: Fix magic number --- cmd/goaes/commands/encrypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/goaes/commands/encrypt.go') 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 == "" { -- cgit v1.2.3