From: Lyanis Souidi Date: Mon, 9 Sep 2024 14:34:19 +0000 (+0200) Subject: netcmd: user: Fix typo in samba-tool error message X-Git-Tag: tdb-1.4.13~1236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0b8178dd143a02c47c514e2959efb9f54ca936;p=thirdparty%2Fsamba.git netcmd: user: Fix typo in samba-tool error message Fix typo in "samba-tool user add" error message when adding a user with NIS features : the argument for the uid number is --uid-number and not --uidNumber. RN: Fix typo in samba-tool error message. Signed-off-by: Lyanis Souidi Reviewed-by: Jennifer Sutton Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/netcmd/user/add.py b/python/samba/netcmd/user/add.py index be4e3cc8110..9c0f9075aa1 100644 --- a/python/samba/netcmd/user/add.py +++ b/python/samba/netcmd/user/add.py @@ -186,7 +186,7 @@ Example5 shows how to add a new RFC2307/NIS domain enabled user account. If if None in (uid_number, login_shell, unix_home, gid_number): raise CommandError('Missing parameters. To enable NIS features, ' 'the following options have to be given: ' - '--nis-domain=, --uidNumber=, --login-shell=' + '--nis-domain=, --uid-number=, --login-shell=' ', --unix-home=, --gid-number= Operation ' 'cancelled.')