VictoriaMetrics/lib/flagutil
Aliaksandr Valialkin d7067c46d0
lib/flagutil: add defaultValue arg to NewArray{Int,Bytes,Duration} functions
The defaultValue is printed in the flag description when passing -help to the app.

This is a follow-up for aef31f201a

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4776
2023-08-12 04:19:05 -07:00
..
array.go lib/flagutil: add defaultValue arg to NewArray{Int,Bytes,Duration} functions 2023-08-12 04:19:05 -07:00
array_test.go lib/flagutil: add defaultValue arg to NewArray{Int,Bytes,Duration} functions 2023-08-12 04:19:05 -07:00
bytes.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:26:31 -08:00
bytes_test.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:26:31 -08:00
duration.go lib/flagutil: re-use Duration.Set() call in NewDuration 2022-05-02 10:56:39 +03:00
duration_test.go lib/flagutil: re-use Duration.Set() call in NewDuration 2022-05-02 10:56:39 +03:00
flag.go
secret.go
usage.go