mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 00:02:37 +02:00
fix method
This commit is contained in:
parent
7eebd18538
commit
01d1670edd
@ -269,7 +269,7 @@ func (c *Converter) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c Converter) Fatal(err error) {
|
||||
func (c *Converter) Fatal(err error) {
|
||||
c.Cmd.Usage()
|
||||
fmt.Fprintf(os.Stderr, "\nError: %s\n", err)
|
||||
os.Exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user