summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-12-19 23:43:49 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-12-19 23:43:49 +0100
commit0e4bf7b7af1a308a42ef0d3017162fe2250a9f95 (patch)
tree75e51b125d706eebd06300d04eaa2b3b4a64d8ae
parent4908aeeb31b92e67e3b454569d53dab52a191081 (diff)
downloadeurephia-0e4bf7b7af1a308a42ef0d3017162fe2250a9f95.tar.gz
eurephia-0e4bf7b7af1a308a42ef0d3017162fe2250a9f95.tar.xz
eurephia-0e4bf7b7af1a308a42ef0d3017162fe2250a9f95.zip
users command: Updated help texts
-rw-r--r--eurephiadm/commands/users.c21
1 files changed, 15 insertions, 6 deletions
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: