mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
add inserting comma inside value instruction to flag description (#5666)
This commit is contained in:
parent
aaa526e8ff
commit
6ee1bfeb3c
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
// NewArrayString returns new ArrayString with the given name and description.
|
||||
func NewArrayString(name, description string) *ArrayString {
|
||||
description += "\nSupports an `array` of values separated by comma or specified via multiple flags."
|
||||
description += "\nValue can contain comma inside single-quoted or double-quoted string, {}, [] and () braces."
|
||||
var a ArrayString
|
||||
flag.Var(&a, name, description)
|
||||
return &a
|
||||
|
|
Loading…
Reference in a new issue