aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-07-24 14:03:41 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-07-24 14:03:41 +0200
commite718cddb32df846caea3a1235a3dc806e03dc1e4 (patch)
treeabbe5b7d20de89238f6e099505d749d766ca25f6 /main.go
parentcbb112b0667852c8fba4248e1fdba93de2fc6d58 (diff)
ErrEZ
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 4f17f71..e1f3850 100644
--- a/main.go
+++ b/main.go
@@ -1,6 +1,7 @@
package main
import (
+ "errors"
"fmt"
"os"
)
@@ -12,6 +13,8 @@ var mainUsage = []string{
"-V [-eqz] [-p pubkey] [-t keytype] [-x sigfile] -m message",
}
+var ErrEZ = errors.New("can't combine -e and -z options")
+
func usage() {
fmt.Println("Usage:")
for _, u := range mainUsage {