Skip to content

Commit

Permalink
Remove -h for preferred hash configuration
Browse files Browse the repository at this point in the history
This option was in conflict with the help display.
  • Loading branch information
koplas committed Nov 21, 2024
1 parent c0de0c2 commit c00dc36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/csaf_downloader/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type config struct {
ignorePattern filter.PatternMatcher

//lint:ignore SA5008 We are using choice or than once: sha256, sha512
PreferredHash hashAlgorithm `long:"preferred_hash" short:"h" choice:"sha256" choice:"sha512" value-name:"HASH" description:"HASH to prefer" toml:"preferred_hash"`
PreferredHash hashAlgorithm `long:"preferred_hash" choice:"sha256" choice:"sha512" value-name:"HASH" description:"HASH to prefer" toml:"preferred_hash"`
}

// configPaths are the potential file locations of the config file.
Expand Down

0 comments on commit c00dc36

Please sign in to comment.