From 0e4bf7b7af1a308a42ef0d3017162fe2250a9f95 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 19 Dec 2008 23:43:49 +0100 Subject: users command: Updated help texts --- eurephiadm/commands/users.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'eurephiadm') diff --git a/eurephiadm/commands/users.c b/eurephiadm/commands/users.c index aaab447..87921bd 100644 --- a/eurephiadm/commands/users.c +++ b/eurephiadm/commands/users.c @@ -68,9 +68,11 @@ void display_users_help(int page) { case 's': printf("The show mode shows more information about a user account.\n" - "The needed arguments are one of the following arguments:\n\n" + "One of the following arguments are required:\n\n" " -i | --uid Numeric user ID\n" " -u | --username User name\n" + "\n" + "Optional arguments are:\n\n" " -l | --lastlog Show users lastlog entries\n" " -L | --lastlog-details Show a more verbose lastlog\n" " -a | --attempts Show users failed attempts and blaclisting\n" @@ -80,21 +82,21 @@ void display_users_help(int page) { case 'a': printf("The activate mode activates an account which not activated or deactivated.\n" - "The needed arguments are one of the following arguments:\n\n" + "One of the following arguments are required:\n\n" " -i | --uid Numeric user ID\n" " -u | --username User name\n\n"); break; case 'd': printf("The deactivate mode deactivates a user account.\n" - "The needed arguments are one of the following arguments:\n\n" + "One of the following arguments are required:\n\n" " -i | --uid Numeric user ID\n" " -u | --username User name\n\n"); break; case 'A': printf("The add user mode registers a new user account.\n" - "\n" + "Both of the following arguments are required:\n\n" " -u | --username User name to use for the new account (required)\n" " -P | --password Assign a new password via the command line\n\n" "(not implemented yet) To register this new account against a certificate\n" @@ -106,11 +108,18 @@ void display_users_help(int page) { break; case 'D': - printf("Delete user mode\n"); + printf("The delete user mode will delete a user account from the database.\n" + "One of the following arguments are required:\n\n" + " -i | --uid Numeric user ID\n" + " -u | --username User name\n\n"); break; case 'p': - printf("Change password mode\n"); + printf("The change password mode is used for changing password for other\n" + "persons than yourself.\n\n" + "One of the following arguments are required:\n\n" + " -i | --uid Numeric user ID\n" + " -u | --username User name\n\n"); break; default: -- cgit