Skip to content

Commit

Permalink
[pkcs11-tool] Update --slot parameter documentation
Browse files Browse the repository at this point in the history
Fixes: OpenSC#2938

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Dec 1, 2023
1 parent 258bfc8 commit 13b926f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/tools/pkcs11-tool.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
<term>
<option>--slot</option> <replaceable>id</replaceable>
</term>
<listitem><para>Specify the id of the slot to use.</para></listitem>
<listitem><para>Specify the id of the slot to use (accepts HEX format with 0x.. prefix or decimal number).</para></listitem>
</varlistentry>

<varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion doc/tools/tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@
"-2" means use maximum permissible length.
Default is digest length (-1).</p></dd><dt><span class="term">
<code class="option">--slot</code> <em class="replaceable"><code>id</code></em>
</span></dt><dd><p>Specify the id of the slot to use.</p></dd><dt><span class="term">
</span></dt><dd><p>Specify the id of the slot to use (accepts HEX format with 0x.. prefix or decimal number).</p></dd><dt><span class="term">
<code class="option">--slot-description</code> <em class="replaceable"><code>description</code></em>
</span></dt><dd><p>Specify the description of the slot to use.</p></dd><dt><span class="term">
<code class="option">--slot-index</code> <em class="replaceable"><code>index</code></em>
Expand Down
2 changes: 1 addition & 1 deletion src/tools/pkcs11-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static const char *option_help[] = {
"Specify the type of object (e.g. cert, privkey, pubkey, secrkey, data)",
"Specify the ID of the object",
"Specify the label of the object",
"Specify the ID of the slot to use",
"Specify the ID of the slot to use (accepts HEX format with 0x.. prefix or decimal number)",
"Specify the description of the slot to use",
"Specify the index of the slot to use",
"Specify the index of the object to use",
Expand Down

0 comments on commit 13b926f

Please sign in to comment.