Skip to content

Commit bb8e21b

Browse files
committed
Fix:(PR-2094) Update docs for new types
1 parent 6d54e0d commit bb8e21b

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

docs/v3/examples/flags/advanced.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,16 @@ entered value on command line will be returned to user on query.
5656
In addition they can be invoked multiple times on the command line and values will be appended to original value
5757
of the flag and returned to the user as a slice
5858

59-
- `UintSliceFlag`
6059
- `IntSliceFlag`
60+
- `Int8SliceFlag`
61+
- `Int16SliceFlag`
62+
- `Int32SliceFlag`
63+
- `Int64SliceFlag`
64+
- `UintSliceFlag`
65+
- `Uint8SliceFlag`
66+
- `Uint16SliceFlag`
67+
- `Uint32SliceFlag`
68+
- `Uint64SliceFlag`
6169
- `StringSliceFlag`
6270
- `FloatSliceFlag`
6371

docs/v3/examples/flags/basics.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,21 @@ Note that most flag can be invoked multiple times but only the last value entere
134134
will be provided to the user(with some exceptions. See flags-advanced.md)
135135

136136
The following basic flags are supported
137-
* IntFlag
138-
* UintFlag
139-
* BoolFlag
140-
* DurationFlag
141-
* FloatFlag
142-
* StringFlag
143-
* TimestampFlag
137+
- `IntFlag`
138+
- `Int8Flag`
139+
- `Int16Flag`
140+
- `Int32Flag`
141+
- `Int64Flag`
142+
- `UintFlag`
143+
- `Uint8Flag`
144+
- `Uint16Flag`
145+
- `Uint32Flag`
146+
- `Uint64Flag`
147+
- `BoolFlag`
148+
- `DurationFlag`
149+
- `FloatFlag`
150+
- `StringFlag`
151+
- `TimestampFlag`
144152

145153
For full list of flags see https://pkg.go.dev/github.com/urfave/cli/v3
146154

0 commit comments

Comments
 (0)