nvram: improve argument check when program start
authorBangLang Huang <banglang.huang@foxmail.com>
Fri, 24 Feb 2017 02:52:52 +0000 (10:52 +0800)
committerAlexander Couzens <lynxis@fe80.eu>
Tue, 22 Aug 2017 12:31:32 +0000 (14:31 +0200)
commitc7e2a6fe923dc86bab14d94ead322a045efca4c9
tree8023ba0385625ed38eefc10a81d6a498cc433204
parent2a253e7cdbacd1bd19da80ea6f35a93b42655c3b
nvram: improve argument check when program start

print help message when argument count is less
than 2.

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
package/utils/nvram/src/cli.c