cmd: dump: Add support for dump rm command
authorNikhil Devshatwar <nikhil.nd@ti.com>
Wed, 4 Nov 2020 07:08:31 +0000 (12:38 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 4 Nov 2020 09:44:38 +0000 (15:14 +0530)
commit276c7e6eeccfe1ee937554a626e0f8b691ccefe8
tree72d3cd75074c46833daec4068e71a8b3de27b34c
parent7f77e030f11ba8b1d633f8169487827ff24af75d
cmd: dump: Add support for dump rm command

Add support for following dump commands to print the resource
allocation for all utypes. Allow to filter on specified
type / subtype

$> k3conf dump rm
$> k3conf dump rm <type>
$> k3conf dump rm <type> <subtype>

Also allow to filter on given host_id with -h option
Update the help accordingly

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
common/cmd_dump.c
common/help.c
include/help.h