summaryrefslogtreecommitdiff
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
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)
-rw-r--r--source3/utils/net.c4
-rw-r--r--source3/utils/net_rap.c4
-rw-r--r--source3/utils/net_rpc.c4
-rw-r--r--source3/utils/net_rpc_join.c2
4 files changed, 7 insertions, 7 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},
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c
index f52eabf494..6e691a1f60 100644
--- a/source3/utils/net_rap.c
+++ b/source3/utils/net_rap.c
@@ -260,6 +260,9 @@ int net_rap_session_usage(int argc, const char **argv)
"\tor"\
"\nnet rap session CLOSE <client_name> [misc. options] [targets]"\
"\n\tDeletes (closes) a session from specified client to server\n");
+ d_printf(
+ "\nnet rap session INFO <client_name>"\
+ "\n\tEnumerates all open files in specified session\n");
net_common_flags_usage(argc, argv);
return -1;
@@ -460,7 +463,6 @@ int net_rap_printq_usage(int argc, const char **argv)
"\tprinter queue if no job number is specified\n");
net_common_flags_usage(argc, argv);
- d_printf("\t-j or --jobid=<job id>\t\tjob id\n");
return -1;
}
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 69cf28f995..863d420ff3 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -220,7 +220,7 @@ static int rpc_changetrustpw(int argc, const char **argv)
*
* This uses 'machinename' as the inital password, and changes it.
*
- * The password should be created with 'server manager' or eqiv first.
+ * The password should be created with 'server manager' or equiv first.
*
* All parameters are provided by the run_rpc_command function, except for
* argc, argv which are passes through.
@@ -332,7 +332,7 @@ int net_rpc_join(int argc, const char **argv)
* display info about a rpc domain
*
* All parameters are provided by the run_rpc_command function, except for
- * argc, argv which are passes through.
+ * argc, argv which are passed through.
*
* @param domain_sid The domain sid acquired from the remote server
* @param cli A cli_state connected to the server.
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index b0eb335986..e2fd9aa434 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -63,7 +63,7 @@ int net_rpc_join_ok(const char *domain)
if (!secrets_fetch_trust_account_password(domain,
stored_md4_trust_password, NULL)) {
- DEBUG(0,("Could not reterive domain trust secret"));
+ DEBUG(0,("Could not retreive domain trust secret"));
goto done;
}