v0.26.4 cli enhancements

This commit is contained in:
lixen committed 2026-10-05 15:12:19 -04:00
1 parent c00c076d9b
commit b2f11f6104
11 files changed
+174 -82

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ func main() {
switch {
case err != nil:
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
os.Exit(2) // every command-line error is a usage error
case inv.command != nil:
os.Exit(inv.command.run(inv.args, os.Stdout, os.Stderr))
case inv.help: