pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
77 stars 61 forks source link

invalid action '--json' #39

Open pratick5 opened 5 years ago

pratick5 commented 5 years ago

bash /usr/sbin/easycwmp -–json get value Device.

After running above command getting an error

USAGE: /usr/sbin/easycwmp command [parameter] [values] command: get [value|notification|name] set [value|notification] apply [value|notification|object|service] add [object] delete [object] download upload factory_reset reboot inform [parameter|device_id] --json-input invalid action '--json' screenshot from 2019-03-07 11-58-44

tomgrean commented 4 years ago

As indicated from your post, there is no '--json' action. the default is json output, if you want to input command by json, use '--json-input' without other actions(command options).