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