summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.go b/init.go
index 68ee54f..a5b6c35 100644
--- a/init.go
+++ b/init.go
@@ -17,7 +17,7 @@ func Init(dest any, APPNAME string, anyString string, VERSION string) {
// needed by bash for autocomplete, help & debugging
Stdout = NewStringWriter(&PB.Stdout) // bash uses this to match strings
Stderr = NewStringWriter(&PB.Stderr) // bash dumps this as "help" about application options
- Stddbg = NewStringWriter(&PB.Stderr) // argv writes it's internal debugging output here
+ Stddbg = NewStringWriter(&PB.Stddbg) // argv writes it's internal debugging output here
app := new(App)
app.APPNAME = APPNAME