summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-07-29 09:25:23 +0000
committerTim Potter <tpot@samba.org>2002-07-29 09:25:23 +0000
commit11785c7bc83b153e8d177928283474bbb0e5f3a9 (patch)
treeded8d50a67d0dfc41c1a1eb65bc7d1c40a0bdc41 /source3/utils/net.c
parent6eaa06ac53840f36a9c75650f21565828e8fbbd4 (diff)
downloadsamba-11785c7bc83b153e8d177928283474bbb0e5f3a9.tar.gz
samba-11785c7bc83b153e8d177928283474bbb0e5f3a9.tar.bz2
samba-11785c7bc83b153e8d177928283474bbb0e5f3a9.zip
Use common popt definition for -d option.
(This used to be commit 8c17904848a6206ab35652625ff5f3afcf6bcb0d)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 084edb6284..fc7094bcf7 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -381,8 +381,6 @@ static struct functable net_func[] = {
{"port", 'p', POPT_ARG_INT, &opt_port},
{"myname", 'n', POPT_ARG_STRING, &opt_requester_name},
{"conf", 's', POPT_ARG_STRING, &servicesf},
- {"debug", 'd', POPT_ARG_STRING, &debuglevel},
- {"debuglevel", 'd', POPT_ARG_STRING, &debuglevel},
{"server", 'S', POPT_ARG_STRING, &opt_host},
{"comment", 'C', POPT_ARG_STRING, &opt_comment},
{"maxusers", 'M', POPT_ARG_INT, &opt_maxusers},
@@ -393,6 +391,7 @@ static struct functable net_func[] = {
{"force", 'f', POPT_ARG_NONE, &opt_force},
{"timeout", 't', POPT_ARG_INT, &opt_timeout},
{"machine-pass",'P', POPT_ARG_NONE, &opt_machine_pass},
+ { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug },
{ 0, 0, 0, 0}
};