summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-13 15:18:21 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-13 15:18:21 +0000
commit6be6a341f8e44408f06aeed1064277e13dc7afba (patch)
tree77b004f649be30e1f7dd76d927098654015ddaac /source3/utils/net.c
parenta9361837246861a9f319de1ea6d92f6cb81d61af (diff)
downloadsamba-6be6a341f8e44408f06aeed1064277e13dc7afba.tar.gz
samba-6be6a341f8e44408f06aeed1064277e13dc7afba.tar.bz2
samba-6be6a341f8e44408f06aeed1064277e13dc7afba.zip
Some small changes - typos, adding usage for some commands
and removing -j because it was not used at all. (This used to be commit e3e2c1b27128f7b5a1f4bbc8093c75b0c12549b4)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 3ab34e7aa9..f8ed590d4b 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -70,7 +70,6 @@ int opt_maxusers = -1;
const char *opt_comment = "";
char *opt_container = "cn=Users";
int opt_flags = -1;
-int opt_jobid = 0;
int opt_timeout = 0;
const char *opt_target_workgroup = NULL;
static int opt_machine_pass = 0;
@@ -452,7 +451,7 @@ static int net_maxrid(int argc, const char **argv)
uint32 rid;
if (argc != 0) {
- DEBUG(0, ("usage: net initrid\n"));
+ DEBUG(0, ("usage: net maxrid\n"));
return 1;
}
@@ -524,7 +523,6 @@ static struct functable net_func[] = {
{"comment", 'C', POPT_ARG_STRING, &opt_comment},
{"maxusers", 'M', POPT_ARG_INT, &opt_maxusers},
{"flags", 'F', POPT_ARG_INT, &opt_flags},
- {"jobid", 'j', POPT_ARG_INT, &opt_jobid},
{"long", 'l', POPT_ARG_NONE, &opt_long_list_entries},
{"reboot", 'r', POPT_ARG_NONE, &opt_reboot},
{"force", 'f', POPT_ARG_NONE, &opt_force},