diff options
author | Kai Blin <kai@samba.org> | 2008-05-19 00:19:18 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2008-06-10 09:45:36 +0200 |
commit | 0f1b3ed5c0326cdca931adc43806ec4df0d3abf3 (patch) | |
tree | 3792bb68135c3ededd7322cab9f6dd06d2184eee /source3/utils/net.c | |
parent | 2ca10c462d23a76fcb9e48865fcfcdacc0dde5ee (diff) | |
download | samba-0f1b3ed5c0326cdca931adc43806ec4df0d3abf3.tar.gz samba-0f1b3ed5c0326cdca931adc43806ec4df0d3abf3.tar.xz 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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index b56ca7e26c5..b1401e97bac 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)); |