swconfig: use print_attr_val() in CMD_GET
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Feb 2010 17:29:04 +0000 (17:29 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Feb 2010 17:29:04 +0000 (17:29 +0000)
commit8fdfe51f296c8854915b2fbd08f06de62bffe5b6
treee75b97442f1b0cd1120aa06e4154cdffbef87419
parent62634962e96a75b9b25e5f676316151efb843bba
swconfig: use print_attr_val() in CMD_GET

Use the print_attr_val() function introduced by the previous patch
to simplify the get command.

Signed-off-by: Martin Mares <mj@ucw.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19641 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/swconfig/src/cli.c