kernel-install: make "inspect" work more like "add" regarding omission of parameters
This makes "kernel-install inspect" work more "kernel-install add": if the version or kernel image is specified as "-" or omitted we'll make it up.
This commit is contained in:
@@ -200,13 +200,15 @@
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>inspect [[<replaceable>KERNEL-VERSION</replaceable>] <replaceable>KERNEL-IMAGE</replaceable>] [<replaceable>INITRD-FILE</replaceable> ...]</command>
|
||||
<command>inspect [[[<replaceable>KERNEL-VERSION</replaceable>] <replaceable>KERNEL-IMAGE</replaceable>] [<replaceable>INITRD-FILE</replaceable> ...]]</command>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Takes the same parameters as <command>add</command>.</para>
|
||||
|
||||
<para>Shows the various paths and parameters configured or auto-detected. In particular shows the
|
||||
values of the various <varname>$KERNEL_INSTALL_*</varname> environment variables listed
|
||||
below. The <option>--json</option> option can be used to get the output of this verb as a JSON
|
||||
object.</para>
|
||||
values of the various <varname>$KERNEL_INSTALL_*</varname> environment variables listed below, as
|
||||
they would be passed to plugins. The <option>--json</option> option can be used to get the output
|
||||
of this verb as a JSON object.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v251"/>
|
||||
</listitem>
|
||||
|
||||
Reference in New Issue
Block a user