summaryrefslogtreecommitdiffstats
path: root/apps/cmp.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-05-01 14:35:21 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-05-05 20:48:20 +0200
commit284076982de7529585c4c13a663203588bff8b12 (patch)
tree07afe26cf4c823f0f20d24b6d95ec32dd5c90820 /apps/cmp.c
parent6c0ac9b99f2b7278a5ec60ef0c29c71e9eb4f40d (diff)
APPS: Slightly extend and improve documentation of the opt_ API
Also remove redundant opt_name() and make names of opt_{i,u}ntmax() consistent. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15111)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r--apps/cmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/cmp.c b/apps/cmp.c
index 51dd971162..14c3a73866 100644
--- a/apps/cmp.c
+++ b/apps/cmp.c
@@ -2188,10 +2188,10 @@ static char *opt_str(void)
if (arg[0] == '\0') {
CMP_warn1("%s option argument is empty string, resetting option",
- opt_name());
+ opt_flag());
arg = NULL;
} else if (arg[0] == '-') {
- CMP_warn1("%s option argument starts with hyphen", opt_name());
+ CMP_warn1("%s option argument starts with hyphen", opt_flag());
}
return arg;
}