Skip to content

Commit

Permalink
Use long option for quiet cache
Browse files Browse the repository at this point in the history
Problem: The short option -Q for "quiet cache" was legacied in FreeIPMI
in early 2018.  It has the potential to be removed some day in the future.

Solution: Use the long option --quiet-cache instead.
  • Loading branch information
chu11 committed Dec 5, 2024
1 parent 4b683aa commit 6e85ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion collector_ipmi.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (c IPMICollector) Cmd() string {

func (c IPMICollector) Args() []string {
return []string{
"-Q",
"--quiet-cache",
"--ignore-unrecognized-events",
"--comma-separated-output",
"--no-header-output",
Expand Down
2 changes: 1 addition & 1 deletion collector_sel_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c SELEventsCollector) Cmd() string {

func (c SELEventsCollector) Args() []string {
return []string{
"-Q",
"--quiet-cache",
"--comma-separated-output",
"--no-header-output",
"--sdr-cache-recreate",
Expand Down

0 comments on commit 6e85ee7

Please sign in to comment.