[git commit] mv: fix error in !VERBOSE configs

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 2 16:04:44 UTC 2023


commit: https://git.busybox.net/busybox/commit/?id=cadf57b3afac5f77c75516d82aed4bc845b5d704
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/mv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coreutils/mv.c b/coreutils/mv.c
index fd2422683..cf6169a1e 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -71,9 +71,9 @@ int mv_main(int argc, char **argv)
 			"no-target-directory\0" No_argument "T"
 			"target-directory\0" Required_argument "t"
 			IF_FEATURE_VERBOSE(
-			"verbose\0"     No_argument "v",
-			&last
+			"verbose\0"     No_argument "v"
 			)
+			, &last
 	);
 	argc -= optind;
 	argv += optind;


More information about the busybox-cvs mailing list