mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
explicitly ignore errors
This commit is contained in:
parent
a2959c038a
commit
c69a935ea8
|
|
@ -15,7 +15,7 @@ func (options *CLIOptions) parse(s []string) ([]string, error) {
|
|||
p := flags.NewParser(options, flags.PrintErrors)
|
||||
args, err := p.ParseArgs(s)
|
||||
if err != nil {
|
||||
os.Stderr.Write(options.help())
|
||||
_, _ = os.Stderr.Write(options.help())
|
||||
return nil, fmt.Errorf("invalid command line options: %w", err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue