Re: [PATCH] BUG/MINOR: cli: don't stop cli_gen_usage_msg() when kw->usage == NULL

2018-05-15 Thread Willy Tarreau
On Tue, May 15, 2018 at 11:50:04AM +0200, William Lallemand wrote: > In commit abbf607 ("MEDIUM: cli: Add payload support") some cli keywords > without usage message have been added at the beginning of the keywords > array. (...) Applied, thank you William. Willy

[PATCH] BUG/MINOR: cli: don't stop cli_gen_usage_msg() when kw->usage == NULL

2018-05-15 Thread William Lallemand
In commit abbf607 ("MEDIUM: cli: Add payload support") some cli keywords without usage message have been added at the beginning of the keywords array. cli_gen_usage_usage_msg() use the kw->usage == NULL to stop generating the usage message for the current keywords array. With those keywords at the