Commit 624350a0 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune Committed by Nils Goroll

cli: Rewrite the vcl.discard documentation

Trying to be more descriptive about glob patterns, inspired by the
backend.list documentation.
parent 2658f51c
...@@ -99,13 +99,16 @@ CLI_CMD(VCL_STATE, ...@@ -99,13 +99,16 @@ CLI_CMD(VCL_STATE,
CLI_CMD(VCL_DISCARD, CLI_CMD(VCL_DISCARD,
"vcl.discard", "vcl.discard",
"vcl.discard <configname|label>...", "vcl.discard <name_pattern>...",
"Unload the named configurations (if possible).", "Unload the named configurations (when possible).",
"The configname or label arguments are matched as glob patterns." "Unload the named configurations and labels matching at least"
" If more than one configuration matches patterns the command" " one name pattern. All matching configurations and labels"
" is equivalent to individual commands in the right order with" " are discarded in the correct order with respect to potential"
" respect to configurations dependencies." " dependencies. If one configuration or label could not be"
" All individual patterns must match at least one configuration.", " discarded because one of its dependencies would remain,"
" nothing is discarded."
" Each individual name pattern must match at least one named"
" configuration or label.",
1, -1 1, -1
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment