diff --git a/doc/tools/pkcs11-tool.1.xml b/doc/tools/pkcs11-tool.1.xml index 01035effcf..73c079dafd 100644 --- a/doc/tools/pkcs11-tool.1.xml +++ b/doc/tools/pkcs11-tool.1.xml @@ -447,7 +447,7 @@ id - 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). diff --git a/doc/tools/tools.html b/doc/tools/tools.html index 63d2c6a3f5..dc4e7f881c 100644 --- a/doc/tools/tools.html +++ b/doc/tools/tools.html @@ -1581,7 +1581,7 @@ "-2" means use maximum permissible length. Default is digest length (-1).

--slot id -

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).

--slot-description description

Specify the description of the slot to use.

--slot-index index diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c index c6bfba674b..220dc4981c 100644 --- a/src/tools/pkcs11-tool.c +++ b/src/tools/pkcs11-tool.c @@ -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",