Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/v3/examples/flags/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,16 @@ entered value on command line will be returned to user on query.
In addition they can be invoked multiple times on the command line and values will be appended to original value
of the flag and returned to the user as a slice

- `UintSliceFlag`
- `IntSliceFlag`
- `Int8SliceFlag`
- `Int16SliceFlag`
- `Int32SliceFlag`
- `Int64SliceFlag`
- `UintSliceFlag`
- `Uint8SliceFlag`
- `Uint16SliceFlag`
- `Uint32SliceFlag`
- `Uint64SliceFlag`
- `StringSliceFlag`
- `FloatSliceFlag`

Expand Down
22 changes: 15 additions & 7 deletions docs/v3/examples/flags/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,21 @@ Note that most flag can be invoked multiple times but only the last value entere
will be provided to the user(with some exceptions. See flags-advanced.md)

The following basic flags are supported
* IntFlag
* UintFlag
* BoolFlag
* DurationFlag
* FloatFlag
* StringFlag
* TimestampFlag
- `IntFlag`
- `Int8Flag`
- `Int16Flag`
- `Int32Flag`
- `Int64Flag`
- `UintFlag`
- `Uint8Flag`
- `Uint16Flag`
- `Uint32Flag`
- `Uint64Flag`
- `BoolFlag`
- `DurationFlag`
- `FloatFlag`
- `StringFlag`
- `TimestampFlag`

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

Expand Down