diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-20 20:27:41 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-20 20:59:24 +1000 |
commit | 9b66b7abcc828d864d2049133f2f0a5b41994ddd (patch) | |
tree | efed43086eddbf0fe4d1f9df2eb3e3edaa578157 /source4/utils | |
parent | 1f7da85c77f47b28a971374f42a1668a92398eb4 (diff) | |
download | samba-9b66b7abcc828d864d2049133f2f0a5b41994ddd.tar.gz samba-9b66b7abcc828d864d2049133f2f0a5b41994ddd.tar.bz2 samba-9b66b7abcc828d864d2049133f2f0a5b41994ddd.zip |
s4-net: show a list of commands when someone runs "net" with no arguments
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/net/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <command> [options]\n"); - d_printf("Type 'net help' for all available commands\n"); + net_help(ctx, net_functable); return 0; } |