fix method

This commit is contained in:
Celogeek 2023-04-25 21:02:24 +02:00
parent 7eebd18538
commit 01d1670edd
Signed by: celogeek
SSH Key Fingerprint: SHA256:njNJLzoLQdbV9PC6ehcruRb0QnEgxABoCYZ+0+aUIYc

View File

@ -269,7 +269,7 @@ func (c *Converter) Validate() error {
return nil return nil
} }
func (c Converter) Fatal(err error) { func (c *Converter) Fatal(err error) {
c.Cmd.Usage() c.Cmd.Usage()
fmt.Fprintf(os.Stderr, "\nError: %s\n", err) fmt.Fprintf(os.Stderr, "\nError: %s\n", err)
os.Exit(1) os.Exit(1)