diff --git a/lib/hx509/hxtool-commands.in b/lib/hx509/hxtool-commands.in index 33191b812..3270e99a0 100644 --- a/lib/hx509/hxtool-commands.in +++ b/lib/hx509/hxtool-commands.in @@ -413,6 +413,18 @@ command = { min_args="0" help = "Print selected CMS type" } +command = { + option = { + long = "decode" + short = "d" + type = "flag" + help = "decode instead of encode" + } + name = "hex" + function = "hxtool_hex" + min_args="0" + help = "Encode input to hex" +} command = { name = "help" name = "?"