Merge branch 'master' of git.sr.ht:~qbit/ogvt

This commit is contained in:
Aaron Bieber 2021-01-13 19:55:38 -07:00
commit 3450db4437

View File

@ -41,6 +41,11 @@ func main() {
flag.StringVar(&flags.pub, "pub", "", "path to pubkey file")
flag.Parse()
if len(os.Args) == 1 {
flag.PrintDefaults()
os.Exit(1)
}
_ = protect.Unveil(flags.sig, "r")
_ = protect.Unveil(flags.file, "r")
_ = protect.Unveil(flags.pub, "r")