cli: enhance "uci show" command on nonexistent sections and options.
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 24 Jan 2015 15:07:52 +0000 (23:07 +0800)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 19:46:42 +0000 (20:46 +0100)
commit3e26ec5716e8b23706bbb566b136eb06138ad978
tree8f1ef427e81ad6d49d1306b723e65afea73f09ca
parent446e774d0e39aeb08d9df4a80453e1334805a606
cli: enhance "uci show" command on nonexistent sections and options.

When doing "uci show network.nilsection", the current behaviour is that
uci will emit a error message complaining "Entry not found", then
continue to show all content of the package network itself.  This is
couter-intuition.

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