[PATCH] samba-tool dns query --help

Jeremy Allison jra at samba.org
Thu Jun 11 03:11:40 UTC 2020


On Fri, Jun 05, 2020 at 08:19:45AM +0100, Rowland penny via samba-technical wrote:
> Hi, whilst running 'samba-tool dns query --help' I noticed something, 'PTR'
> wasn't in the list of available record types, this patch just adds it.
> 

LGTM. RB+ and pushed. Thanks !


> From 00190a7281c7540481ea2e12279fd7da9885faa6 Mon Sep 17 00:00:00 2001
> From: Rowland Penny <rpenny at samba.org>
> Date: Fri, 5 Jun 2020 07:56:21 +0100
> Subject: [PATCH] samba-tool dns query --help: Someone forgot 'PTR'
>  from the list of record types
> 
> Signed-off-by: Rowland Penny <rpenny at samba.org>
> ---
>  python/samba/netcmd/dns.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/python/samba/netcmd/dns.py b/python/samba/netcmd/dns.py
> index 6faa54d1a8e..d4b06929aa3 100644
> --- a/python/samba/netcmd/dns.py
> +++ b/python/samba/netcmd/dns.py
> @@ -790,7 +790,8 @@ class cmd_zonedelete(Command):
>  class cmd_query(Command):
>      """Query a name."""
>  
> -    synopsis = '%prog <server> <zone> <name> <A|AAAA|CNAME|MX|NS|SOA|SRV|TXT|ALL> [options]'
> +    synopsis = ('%prog <server> <zone> <name> '
> +                '<A|AAAA|PTR|CNAME|MX|NS|SOA|SRV|TXT|ALL> [options]')
>  
>      takes_args = ['server', 'zone', 'name', 'rtype']
>  
> -- 
> 2.20.1
> 




More information about the samba-technical mailing list