]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netcmd: user: Fix typo in samba-tool error message
authorLyanis Souidi <lyanis.souidi@u-pec.fr>
Mon, 9 Sep 2024 14:34:19 +0000 (16:34 +0200)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 10 Sep 2024 00:14:40 +0000 (00:14 +0000)
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 <lyanis.souidi@u-pec.fr>
Reviewed-by: Jennifer Sutton <josutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/netcmd/user/add.py

index be4e3cc811035d718e76de84cb3d53910065134f..9c0f9075aa10ab2c268bdc12eb6bb3b28e5eb810 100644 (file)
@@ -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.')