summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-05-19 00:19:18 +0200
committerKai Blin <kai@samba.org>2008-06-10 09:45:36 +0200
commit0f1b3ed5c0326cdca931adc43806ec4df0d3abf3 (patch)
tree3792bb68135c3ededd7322cab9f6dd06d2184eee /source3/utils/net.c
parent2ca10c462d23a76fcb9e48865fcfcdacc0dde5ee (diff)
downloadsamba-0f1b3ed5c0326cdca931adc43806ec4df0d3abf3.tar.gz
samba-0f1b3ed5c0326cdca931adc43806ec4df0d3abf3.tar.bz2
samba-0f1b3ed5c0326cdca931adc43806ec4df0d3abf3.zip
net: Autogenerate "net help" output from net's functable.
(This used to be commit 0feb40bc8408412336c667df4f8bf57c77446ca7)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index b56ca7e26c..b1401e97ba 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -758,6 +758,7 @@ static struct functable3 net_func[] = {
c->opt_password = getenv("PASSWD");
}
+ c->private_data = net_func;
rc = net_run_function3(c, argc_new-1, argv_new+1, "net", net_func);
DEBUG(2,("return code = %d\n", rc));