correct #39 add --ignoreerrors flag

This commit is contained in:
2024-01-27 16:57:17 +01:00
committed by T.v.Dein
parent 14f8c3fd43
commit bcf920c91e

View File

@@ -153,6 +153,7 @@ func InitConfig(output io.Writer) (*Config, error) {
flagset.BoolP("help", "h", false, "show usage")
flagset.BoolP("manual", "m", false, "show manual")
flagset.BoolP("force", "f", false, "force")
flagset.BoolP("ignoreerrors", "", false, "ignore image download HTTP errors")
if err := flagset.Parse(os.Args[1:]); err != nil {
return nil, fmt.Errorf("failed to parse program arguments: %w", err)