summaryrefslogtreecommitdiffstats
path: root/eurephiadm
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-09-13 21:56:12 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-09-13 21:56:12 +0200
commitc452fcbc4502ca960f48981a4091ee490cfbe79f (patch)
treed22c138adf6a7f0fe0daa3230cd231179a606441 /eurephiadm
parentb8af944163777a6a0936f61627e7efbb26b305ae (diff)
downloadeurephia-c452fcbc4502ca960f48981a4091ee490cfbe79f.tar.gz
eurephia-c452fcbc4502ca960f48981a4091ee490cfbe79f.tar.xz
eurephia-c452fcbc4502ca960f48981a4091ee490cfbe79f.zip
Corrected some wrong arguments and help screens for eurephiadm blacklist and attempts commands
Diffstat (limited to 'eurephiadm')
-rw-r--r--eurephiadm/commands/attempts.c2
-rw-r--r--eurephiadm/commands/blacklist.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/eurephiadm/commands/attempts.c b/eurephiadm/commands/attempts.c
index 2d44bbe..dccb3e8 100644
--- a/eurephiadm/commands/attempts.c
+++ b/eurephiadm/commands/attempts.c
@@ -85,7 +85,7 @@ void display_attempts_help(int page)
printf("The attempts reset mode will reset the attempt registration.\n"
"\n"
"One of the following parameters must be given (only one):\n"
- " -n | --username <username> User name\n"
+ " -u | --username <username> User name\n"
" -d | --digest <SHA1 digest> Certificate SHA1 digest\n"
" -i | --ipaddr <IP address> IP address\n"
" -a | --attemptid <ID> Attempts record ID\n"
diff --git a/eurephiadm/commands/blacklist.c b/eurephiadm/commands/blacklist.c
index a13f92c..5883ed4 100644
--- a/eurephiadm/commands/blacklist.c
+++ b/eurephiadm/commands/blacklist.c
@@ -87,7 +87,7 @@ void display_blacklist_help(int page)
printf("The blacklist mode will register an item to be blacklisted.\n"
"\n"
"One of the following parameters must be given (only one):\n"
- " -n | --username <username> User name\n"
+ " -u | --username <username> User name\n"
" -d | --digest <SHA1 digest> Certificate SHA1 digest\n"
" -i | --ipaddr <ip address> IP address\n"
"\n"
@@ -129,7 +129,7 @@ int help_Blacklist2(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg
{
e_options modeargs[] = {
{"--list", "-l", 0},
- {"--reset", "-R", 0},
+ {"--add", "-A", 0},
{"--delete", "-D", 0},
{NULL, NULL, 0}
};