summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-06-27 15:28:45 -0700
committerJeremy Allison <jra@samba.org>2008-06-27 15:28:45 -0700
commit23e4a41362375370f1dbe16e47199bc996e3470c (patch)
tree0abf19b717426bed1d04d61ce2aac0418d8d9290 /source3/utils
parent15ac8b6bc1abd754940b7f6fe3a5ae7e77fceb4f (diff)
downloadsamba-23e4a41362375370f1dbe16e47199bc996e3470c.tar.gz
samba-23e4a41362375370f1dbe16e47199bc996e3470c.tar.bz2
samba-23e4a41362375370f1dbe16e47199bc996e3470c.zip
Fix usage message for net rpc trustdom add.
Jeremy. (This used to be commit 20e59faf6efce01887cd01f0cafb197cc2f4742e)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 08b68f012a..068e6b2e7c 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -5647,7 +5647,7 @@ static NTSTATUS rpc_trustdom_add_internals(struct net_context *c,
union samr_UserInfo info;
if (argc != 2) {
- d_printf("Usage: net rpc trustdom add <domain_name> <pw>\n");
+ d_printf("Usage: net rpc trustdom add <domain_name> <trust password>\n")
return NT_STATUS_INVALID_PARAMETER;
}
@@ -5769,7 +5769,7 @@ static int rpc_trustdom_add(struct net_context *c, int argc, const char **argv)
rpc_trustdom_add_internals, argc, argv);
} else {
d_printf("Usage:\n"
- "net rpc trustdom add <domain>\n");
+ "net rpc trustdom add <domain_name> <trust password>\n");
return -1;
}
}