summaryrefslogtreecommitdiffstats
path: root/apps/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mac.c')
-rw-r--r--apps/mac.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/mac.c b/apps/mac.c
index 8383d0d7b3..0cd3323f3b 100644
--- a/apps/mac.c
+++ b/apps/mac.c
@@ -28,10 +28,16 @@ const OPTIONS mac_options[] = {
{OPT_HELP_STR, 1, '-', "Usage: %s [options] mac_name\n"},
{OPT_HELP_STR, 1, '-', "mac_name\t\t MAC algorithm (See list "
"-mac-algorithms)"},
+
+ OPT_SECTION("General"),
{"help", OPT_HELP, '-', "Display this summary"},
{"macopt", OPT_MACOPT, 's', "MAC algorithm parameters in n:v form. "
"See 'PARAMETER NAMES' in the EVP_MAC_ docs"},
+
+ OPT_SECTION("Input"),
{"in", OPT_IN, '<', "Input file to MAC (default is stdin)"},
+
+ OPT_SECTION("Output"),
{"out", OPT_OUT, '>', "Output to filename rather than stdout"},
{"binary", OPT_BIN, '-', "Output in binary format (Default is hexadecimal "
"output)"},