@cryptotaxi247 / kubo / commits / 958e524c1

commands: Nicer syntax for Argument definition

Matt Bell committed Nov 3, 2014 at 22:14 UTC 958e524c1ef2ec03888e1d8047510306f3e37766
1 file changed +4 -3
commands/argument.go
+4 -3
@@ -8,7 +8,8 @@ const (
8 )
9
10 type Argument struct {
11 - Name string
12 - Type ArgumentType
13 - Required, Variadic bool
11 + Name string
12 + Type ArgumentType
13 + Required bool
14 + Variadic bool
15 }