mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-02-03 19:48:53 +08:00
make golangci-lint happy
This commit is contained in:
parent
16c3c3e39c
commit
fd28d45f10
3 changed files with 8 additions and 26 deletions
|
|
@ -25,7 +25,10 @@ func parseFlags(args []string) options {
|
|||
f.StringVar(&opts.format, "format", "armor", "GPG format encoding (binary|armor)")
|
||||
f.StringVar(&opts.in, "i", "-", "Input path. Reads by default from standard output")
|
||||
f.StringVar(&opts.out, "o", "-", "Output path. Prints by default to standard output")
|
||||
f.Parse(args[1:])
|
||||
if err := f.Parse(args[1:]); err != nil {
|
||||
// should never happen since flag.ExitOnError
|
||||
panic(err)
|
||||
}
|
||||
|
||||
return opts
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue