summaryrefslogtreecommitdiff
path: root/source3/utils/net_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_util.c')
-rw-r--r--source3/utils/net_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c
index c641e61c5c..826a2fb40f 100644
--- a/source3/utils/net_util.c
+++ b/source3/utils/net_util.c
@@ -584,6 +584,9 @@ int net_run_function2(struct net_context *c, int argc, const char **argv,
}
}
+ d_fprintf(stderr, "Invalid command: %s %s\n", whoami,
+ (argc > 0)?argv[0]:"");
+ d_printf("Usage:\n");
for (i=0; table[i].funcname != NULL; i++) {
d_printf("%s %-15s %s\n", whoami, table[i].funcname,
table[i].helptext);