Some small changes - typos, adding usage for some commands
authorJelmer Vernooij <jelmer@samba.org>
Sun, 13 Apr 2003 15:18:21 +0000 (15:18 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 13 Apr 2003 15:18:21 +0000 (15:18 +0000)
and removing -j because it was not used at all.

source/utils/net.c
source/utils/net_rap.c
source/utils/net_rpc.c
source/utils/net_rpc_join.c

index 3ab34e7aa9a3db5ad2e513712e05c23617822a14..f8ed590d4b8b0f57bb88f924c01087d8d8988eca 100644 (file)
@@ -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},
index f52eabf494e7e182e5b238bbfdede21ad19d8399..6e691a1f60ab957a2ed6f9dca738e53ecd43461a 100644 (file)
@@ -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;
 }      
index 69cf28f99560acfd66531e6babdbab92a496e7e1..863d420ff3fafb3cd202ccbfec71f2750ed22e5a 100644 (file)
@@ -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.
index b0eb335986942e6fe2b3f5712e60baf1acca3c49..e2fd9aa4341267b908143aaf41794e7ad1ded71d 100644 (file)
@@ -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;
        }