Use long option for quiet cache

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.

Signed-off-by: Albert Chu <chu11@llnl.gov>
This commit is contained in:
Albert Chu 2024-12-05 15:46:50 -08:00
parent 4b683aa1c9
commit ccbb13f067
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ func (c IPMICollector) Cmd() string {
func (c IPMICollector) Args() []string { func (c IPMICollector) Args() []string {
return []string{ return []string{
"-Q", "--quiet-cache",
"--ignore-unrecognized-events", "--ignore-unrecognized-events",
"--comma-separated-output", "--comma-separated-output",
"--no-header-output", "--no-header-output",

View File

@ -59,7 +59,7 @@ func (c SELEventsCollector) Cmd() string {
func (c SELEventsCollector) Args() []string { func (c SELEventsCollector) Args() []string {
return []string{ return []string{
"-Q", "--quiet-cache",
"--comma-separated-output", "--comma-separated-output",
"--no-header-output", "--no-header-output",
"--sdr-cache-recreate", "--sdr-cache-recreate",