nvram: add usage() function
authorBangLang Huang <banglang.huang@foxmail.com>
Fri, 24 Feb 2017 02:45:16 +0000 (10:45 +0800)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 15:23:39 +0000 (16:23 +0100)
commitc446ee4ad42731ef99cbefee7dcc2bcab1c26566
tree3b2184947962bf5e89d6af7499eeebb93ab4917e
parent9e84d333b19abdfe5effd276421217a64dd98078
nvram: add usage() function

Merge the help message into a single function,
so that we can use it somewhere else.

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
(cherry picked from commit 2a253e7cdbacd1bd19da80ea6f35a93b42655c3b)
package/utils/nvram/src/cli.c