Fix formt on documentation (#2577)
When generating decisions import docusarus v3 now does not allow `{` without escaping this adds escaping
This commit is contained in:
parent
d1bfaddb69
commit
f8755be9cd
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ func NewDecisionsImportCmd() *cobra.Command {
|
||||||
Short: "Import decisions from a file or pipe",
|
Short: "Import decisions from a file or pipe",
|
||||||
Long: "expected format:\n" +
|
Long: "expected format:\n" +
|
||||||
"csv : any of duration,reason,scope,type,value, with a header line\n" +
|
"csv : any of duration,reason,scope,type,value, with a header line\n" +
|
||||||
`json : {"duration" : "24h", "reason" : "my_scenario", "scope" : "ip", "type" : "ban", "value" : "x.y.z.z"}`,
|
"json :" + "`{" + `"duration" : "24h", "reason" : "my_scenario", "scope" : "ip", "type" : "ban", "value" : "x.y.z.z"` + "}`",
|
||||||
DisableAutoGenTag: true,
|
DisableAutoGenTag: true,
|
||||||
Example: `decisions.csv:
|
Example: `decisions.csv:
|
||||||
duration,scope,value
|
duration,scope,value
|
||||||
|
|
Loading…
Reference in a new issue