]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:utils: Fix misleading recursive flag in smbget error message gitlab/master
authorDESKTOP-73571CJ\User <hugochiaxyz.nus@gmail.com>
Wed, 11 Feb 2026 08:04:33 +0000 (16:04 +0800)
committerAnoop C S <anoopcs@samba.org>
Mon, 16 Feb 2026 15:37:04 +0000 (15:37 +0000)
commit4468d8274c6df1c5d6d6430b6ea768c40048fe8a
tree46f826ab53611e8e18260882f55f256e6cb19b12
parentc43d52e57bd6d8935d505b2ccc17f077a91030c0
s3:utils: Fix misleading recursive flag in smbget error message

The error message in smbget incorrectly instructs users to use "-R" for
recursive downloads.

In recent Samba versions, the "-R" flag was repurposed for
"--name-resolve" to align with other tools. The correct flag for
recursion is now "--recursive". This mismatch causes confusion as using
"-R" triggers a parameter parsing error rather than enabling recursion.

This patch updates the error string to correctly suggest "--recursive"
instead of "-R".

RN: smbget: Fix error message suggesting wrong flag for recursion.

Signed-off-by: Hugo Chia hugochiaxyz.nus@gmail.com
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Mon Feb 16 15:37:04 UTC 2026 on atb-devel-224
source3/utils/smbget.c