tools/bootconfig: Add list option
authorMasami Hiramatsu <mhiramat@kernel.org>
Mon, 10 Aug 2020 08:34:51 +0000 (17:34 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 19 Sep 2020 02:17:13 +0000 (22:17 -0400)
commite4f70b7badb40598ceea31c122d7c2fb6203672a
treee128edfefbf9f10b2f786bfa45f458753b350eae
parentd052e1c6909f9ccbdc4112a50796afca19094229
tools/bootconfig: Add list option

Add list option (-l) to show the bootconfig in the list style.
This is same output of /proc/bootconfig. So users can check
how their bootconfig will be shown in procfs. This will help
them to write a user-space script to parse the /proc/bootconfig.

Link: https://lkml.kernel.org/r/159704849087.175360.8761890802048625207.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/bootconfig/main.c