diff options
Diffstat (limited to 'commands/msg/pipe.go')
-rw-r--r-- | commands/msg/pipe.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go index 7135df01..980ba38d 100644 --- a/commands/msg/pipe.go +++ b/commands/msg/pipe.go @@ -19,6 +19,7 @@ import ( type Pipe struct { Background bool `opt:"-b"` + Silent bool `opt:"-s"` Full bool `opt:"-m"` Part bool `opt:"-p"` Command string `opt:"..."` @@ -60,7 +61,7 @@ func (p Pipe) Run(cb func()) error { doTerm := func(reader io.Reader, name string) { cmd := []string{"sh", "-c", p.Command} - term, err := commands.QuickTerm(cmd, reader) + term, err := commands.QuickTerm(cmd, reader, p.Silent) if err != nil { app.PushError(err.Error()) return |