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