Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Nov 10, 2023
1 parent 6b48371 commit 58da5c5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/actions/tools/ffmpeg/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func ActionDecoders() carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-decoders")(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-hide_banner", "-decoders")(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")
r := regexp.MustCompile(`^ (?P<type>.).{5} (?P<name>[^ ]+) +(?P<description>.*)$`)

Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/tools/ffmpeg/demuxer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func ActionDemuxers() carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-demuxers")(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-hide_banner", "-demuxers")(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")
r := regexp.MustCompile(`^ (?P<type>.).{1} (?P<name>[^ ]+) +(?P<description>.*)$`)

Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/tools/ffmpeg/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func ActionEncoders() carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-encoders")(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-hide_banner", "-encoders")(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")
r := regexp.MustCompile(`^ (?P<type>.).{5} (?P<name>[^ ]+) +(?P<description>.*)$`)

Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/tools/ffmpeg/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func ActionFilters() carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-filters")(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-hide_banner", "-filters")(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")
r := regexp.MustCompile(`^ .{3} (?P<name>[^ ]+) +[^ ]+ *(?P<description>.*)$`)

Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/tools/ffmpeg/muxer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func ActionMuxers() carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-demuxers")(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-hide_banner", "-demuxers")(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")
r := regexp.MustCompile(`^ .{1}(?P<type>.) (?P<name>[^ ]+) +(?P<description>.*)$`)

Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/tools/ffmpeg/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func ActionProtocols() carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-protocols")(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("ffmpeg", "-hide_banner", "-protocols")(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")

found := false
Expand Down

0 comments on commit 58da5c5

Please sign in to comment.