diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-03-23 11:26:55 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-03-23 11:26:55 +0100 |
commit | 14e0c4e8b8a597783580ba42f993c12646637111 (patch) | |
tree | ac5b88cc6e3b64f6d408dcfcf77cb2508bd1d210 /eurephiadm/commands/usercerts.c | |
parent | 61e4bea338ff3127fe5a315adadc25648329b602 (diff) | |
download | eurephia-14e0c4e8b8a597783580ba42f993c12646637111.tar.gz eurephia-14e0c4e8b8a597783580ba42f993c12646637111.tar.xz eurephia-14e0c4e8b8a597783580ba42f993c12646637111.zip |
Fixed wrong help text info for eurephiadm usercerts command
Also removed debug info as well
Diffstat (limited to 'eurephiadm/commands/usercerts.c')
-rw-r--r-- | eurephiadm/commands/usercerts.c | 9 |
1 files changed, 4 insertions, 5 deletions
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; |