mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Remove -h for preferred hash configuration
This option was in conflict with the help display.
This commit is contained in:
parent
c0de0c2b6d
commit
c00dc36547
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ type config struct {
|
||||||
ignorePattern filter.PatternMatcher
|
ignorePattern filter.PatternMatcher
|
||||||
|
|
||||||
//lint:ignore SA5008 We are using choice or than once: sha256, sha512
|
//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.
|
// configPaths are the potential file locations of the config file.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue