From: Rob van der Linde Date: Tue, 26 Mar 2024 21:11:26 +0000 (+1300) Subject: netcmd: gmsa: improve descriptions of --dns-host-name and match docs X-Git-Tag: tdb-1.4.11~1339 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf60e3cad6bde875e3566e06d135d2f512eaa048;p=thirdparty%2Fsamba.git netcmd: gmsa: improve descriptions of --dns-host-name and match docs Signed-off-by: Rob van der Linde Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/netcmd/service_account/service_account.py b/python/samba/netcmd/service_account/service_account.py index e4871198349..f492c6ba1d7 100644 --- a/python/samba/netcmd/service_account/service_account.py +++ b/python/samba/netcmd/service_account/service_account.py @@ -107,7 +107,7 @@ class cmd_service_account_create(Command): takes_options = [ Option("--name", help="Name of managed service account (required).", dest="name", action="store", type=str, required=True), - Option("--dns-host-name", help="Name of DNS host (required).", + Option("--dns-host-name", help="DNS hostname of this service account (required).", dest="dns_host_name", action="store", type=str, required=True), Option("--group-msa-membership", help="Provide optional Group MSA Membership SDDL.", @@ -153,7 +153,7 @@ class cmd_service_account_modify(Command): takes_options = [ Option("--name", help="Name of managed service account (required).", dest="name", action="store", type=str, required=True), - Option("--dns-host-name", help="Update name of DNS host.", + Option("--dns-host-name", help="Update DNS hostname of this service account.", dest="dns_host_name", action="store", type=str), Option("--group-msa-membership", help="Update Group MSA Membership field directly (SDDL).",