diff options
| author | ewy <ewy0@protonmail.com> | 2026-06-01 19:37:34 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-06-01 19:37:34 +0200 |
| commit | 3d46b9546e1ccf131ce4dbcbfc12f6e37fa301ea (patch) | |
| tree | 54bd9343fe51734b7e2377a844065f317bc51cc3 /completion/completion.go | |
| parent | 46d032cd21b0e8e2c94a32333d3805ec76980cca (diff) | |
default to manpage view for help
Diffstat (limited to 'completion/completion.go')
| -rw-r--r-- | completion/completion.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completion/completion.go b/completion/completion.go index 0fbe877..6fc719f 100644 --- a/completion/completion.go +++ b/completion/completion.go @@ -54,7 +54,7 @@ func Add(shell string) *spool.ExitCode { return &spool.CompletionFailure } successMessage(shell, f) - return nil + return &spool.Success } func successMessage(shell string, file string) { @@ -65,5 +65,5 @@ func successMessage(shell string, file string) { // because it is baked in with the program it should always be version-appropriate func Echo() *spool.ExitCode { _, _ = spool.Print("%s", completionCode) - return nil + return &spool.Success } |
