diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-02-28 04:36:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-02-28 04:36:08 +0000 |
commit | e7ff3803a385925b52f09526d2bbc8ca479d2ae4 (patch) | |
tree | fea828d29347bfc5477fe877e8ef95d0f9738e87 /source3/utils/net_help.c | |
parent | 481b4e6d6ceeab644b5c4d1ee11bc221d8035202 (diff) | |
download | samba-e7ff3803a385925b52f09526d2bbc8ca479d2ae4.tar.gz samba-e7ff3803a385925b52f09526d2bbc8ca479d2ae4.tar.bz2 samba-e7ff3803a385925b52f09526d2bbc8ca479d2ae4.zip |
- added help on -P option
- added general options to 'net -h' help
(This used to be commit ee8a7fdab7f5aa6f4a64f2eea90f0d44ae0f388a)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r-- | source3/utils/net_help.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 782a530035..4000a248ff 100644 --- a/source3/utils/net_help.c +++ b/source3/utils/net_help.c @@ -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; } |