aboutsummaryrefslogtreecommitdiff
path: root/int64.go
diff options
context:
space:
mode:
Diffstat (limited to 'int64.go')
-rw-r--r--int64.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/int64.go b/int64.go
index 43aeced..0114aaa 100644
--- a/int64.go
+++ b/int64.go
@@ -19,6 +19,10 @@ func (i *int64Value) Set(s string) error {
return err
}
+func (i *int64Value) Type() string {
+ return "int64"
+}
+
func (i *int64Value) String() string { return fmt.Sprintf("%v", *i) }
// Int64Var defines an int64 flag with specified name, default value, and usage string.