summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-20 20:27:41 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-20 20:59:24 +1000
commit9b66b7abcc828d864d2049133f2f0a5b41994ddd (patch)
treeefed43086eddbf0fe4d1f9df2eb3e3edaa578157 /source4
parent1f7da85c77f47b28a971374f42a1668a92398eb4 (diff)
downloadsamba-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')
-rw-r--r--source4/utils/net/net.c2
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;
}