diff options
author | Günther Deschner <gd@samba.org> | 2010-02-08 11:53:59 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-02-08 11:55:52 +0100 |
commit | 89c089d9934d233a6753d0536c900a2f264fc03d (patch) | |
tree | 7266f2a134687a5d2fc31321c7d06073b42ee988 /source3/utils | |
parent | 6753fb1cf6a834b12b2a9dce3b1a9555390c17be (diff) | |
download | samba-89c089d9934d233a6753d0536c900a2f264fc03d.tar.gz samba-89c089d9934d233a6753d0536c900a2f264fc03d.tar.bz2 samba-89c089d9934d233a6753d0536c900a2f264fc03d.zip |
s3-net: fix net ads dns usage calls.
Bjoern, please check.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index eff664fcb4..3cd4fd87a2 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1432,9 +1432,11 @@ static int net_ads_dns_register(struct net_context *c, int argc, const char **ar #endif if (argc > 0 || c->display_usage) { - d_printf(_("Usage:\n"), + d_printf( "%s\n" "net ads dns register\n" - " ", _("Register hostname with DNS\n")); + " %s\n", + _("Usage:"), + _("Register hostname with DNS\n")); return -1; } @@ -1484,7 +1486,10 @@ static int net_ads_dns_gethostbyname(struct net_context *c, int argc, const char #endif if (argc != 2 || c->display_usage) { - d_printf(_("Usage:\n"), + d_printf( "%s\n" + " %s\n" + " %s\n", + _("Usage:"), _("net ads dns gethostbyname <server> <name>\n"), _(" Look up hostname from the AD\n" " server\tName server to use\n" |