mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
s3-net: fix net ads dns usage calls.
Bjoern, please check. Guenther
This commit is contained in:
parent
6753fb1cf6
commit
89c089d993
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user