From 9b66b7abcc828d864d2049133f2f0a5b41994ddd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Apr 2010 20:27:41 +1000 Subject: s4-net: show a list of commands when someone runs "net" with no arguments --- source4/utils/net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/utils/net/net.c') diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index 56f7c77736..0354131204 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -273,7 +273,7 @@ static int net_usage(struct net_context *ctx, int argc, const char **argv) { d_printf("Usage:\n"); d_printf("net [options]\n"); - d_printf("Type 'net help' for all available commands\n"); + net_help(ctx, net_functable); return 0; } -- cgit