- added help on -P option
authorAndrew Tridgell <tridge@samba.org>
Fri, 28 Feb 2003 04:36:08 +0000 (04:36 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 28 Feb 2003 04:36:08 +0000 (04:36 +0000)
- added general options to 'net -h' help
(This used to be commit ee8a7fdab7f5aa6f4a64f2eea90f0d44ae0f388a)

source3/utils/net_help.c

index 782a5300352af617ad5b4e8760ed7d9301675046..4000a248ff69ae25c793774b93cf37517d34a711 100644 (file)
@@ -47,6 +47,7 @@ int net_common_flags_usage(int argc, const char **argv)
        d_printf("\t-U or --user=<name>\t\tuser name\n");
        d_printf("\t-s or --conf=<path>\t\tpathname of smb.conf file\n");
        d_printf("\t-l or --long\t\t\tDisplay full information\n");
+       d_printf("\t-P or --machine-pass\t\tAuthenticate as machine account\n");
        return -1;
 }
 
@@ -160,6 +161,7 @@ static int net_usage(int argc, const char **argv)
                 "  net rpc <command>\tto run RPC commands\n"\
                 "\n"\
                 "Type \"net help <option>\" to get more information on that option\n");
+       net_common_flags_usage(argc, argv);
        return -1;
 }