git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
481b4e6
)
- added help on -P option
author
Andrew Tridgell
<tridge@samba.org>
Fri, 28 Feb 2003 04:36:08 +0000
(
04:36
+0000)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/utils/net_help.c
b/source3/utils/net_help.c
index 782a5300352af617ad5b4e8760ed7d9301675046..4000a248ff69ae25c793774b93cf37517d34a711 100644
(file)
--- 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;
}