From 14e0c4e8b8a597783580ba42f993c12646637111 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Mon, 23 Mar 2009 11:26:55 +0100 Subject: Fixed wrong help text info for eurephiadm usercerts command Also removed debug info as well --- eurephiadm/commands/usercerts.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'eurephiadm/commands/usercerts.c') diff --git a/eurephiadm/commands/usercerts.c b/eurephiadm/commands/usercerts.c index 5998091..c6662a3 100644 --- a/eurephiadm/commands/usercerts.c +++ b/eurephiadm/commands/usercerts.c @@ -51,16 +51,16 @@ void display_usercerts_help(int page) { case 'A': printf("The add mode will register a new link between a user account and a certificate.\n" "\n" - " -c | --certid Required - Certificate ID (certid)\n" - " -i | --userid Required - User accound ID (uid)\n" + " -c | --certid Required - Certificate ID\n" + " -i | --uid Required - User accound ID\n" "\n" ); break; case 'D': printf("The delete mode will delete a link between a user account and a certificate.\n" "\n" - " -c | --certid Certificate ID (certid)\n" - " -i | --userid User accound ID (uid)\n" + " -c | --certid Certificate ID\n" + " -i | --uid User accound ID\n" " -n | --uicid Unique record id of certificate and user account link\n" "\n" ); @@ -265,7 +265,6 @@ int add_del_usercert(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cf xmlNewChild(usercert_n, NULL, (xmlChar *) "uicid", (xmlChar *) uicid); } - xmlSaveFormatFileEnc("-", usercert_xml, "UTF-8", 1); if( (id = eDBadminUpdateUserCertLink(ctx, usercert_xml)) < 1 ) { fprintf(stderr, "%s: Failed to register user <-> certificate link\n", MODULE); rc = 1; -- cgit