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