cli: suppress printing error messages when -q is specified.
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 25 May 2015 12:32:40 +0000 (20:32 +0800)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 25 May 2015 21:02:28 +0000 (23:02 +0200)
 - Introduce cli_error() for printing local errors.
 - Convert existing fprintf(stderr, ) and perror() to cli_error().
 - N.B. error messages will still be printed if they occured before -q
   flag was parsed.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

No differences found