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