1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s4-net: show a list of commands when someone runs "net" with no arguments

This commit is contained in:
Andrew Tridgell 2010-04-20 20:27:41 +10:00
parent 1f7da85c77
commit 9b66b7abcc

View File

@ -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;
}