summaryrefslogtreecommitdiff
path: root/source3/utils/net_rap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_rap.c')
-rw-r--r--source3/utils/net_rap.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c
index 13180c47c5..a6b199fd88 100644
--- a/source3/utils/net_rap.c
+++ b/source3/utils/net_rap.c
@@ -605,20 +605,9 @@ int net_rap_printq(int argc, const char **argv)
}
-int net_rap_user_usage(int argc, const char **argv)
+static int net_rap_user_usage(int argc, const char **argv)
{
- d_printf("\nnet rap user [misc. options] [targets]\n\tList users\n");
- d_printf("\nnet rap user DELETE <name> [misc. options] [targets]"\
- "\n\tDelete specified user\n");
- d_printf("\nnet rap user INFO <name> [misc. options] [targets]"\
- "\n\tList the domain groups of the specified user\n");
- d_printf("\nnet rap user ADD <name> [-F user flags] [misc. options]"\
- " [targets]\n\tAdd specified user\n");
-
- net_common_flags_usage(argc, argv);
- d_printf(
- "\t-C or --comment=<comment>\tdescriptive comment (for add only)\n");
- return -1;
+ return net_help_user(argc, argv);
}
static void user_fn(const char *user_name, const char *comment,