diff mbox series

[Improvements,on,messages,2/5] transport-helper.c: trivial fix of error message

Message ID 20240216101647.28837-3-ash@kambanaria.org (mailing list archive)
State New, archived
Headers show
Series Disambuiguate between options and commands | expand

Commit Message

Alexander Shopov Feb. 16, 2024, 10:15 a.m. UTC
Mark --force as option rather than variable names

Signed-off-by: Alexander Shopov <ash@kambanaria.org>
---
 transport-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.43.2
diff mbox series

Patch

diff --git a/transport-helper.c b/transport-helper.c
index e34a8f47cf..7014b9ad70 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -1072,7 +1072,7 @@  static int push_refs_with_export(struct transport *transport,
 	set_common_push_options(transport, data->name, flags);
 	if (flags & TRANSPORT_PUSH_FORCE) {
 		if (set_helper_option(transport, "force", "true") != 0)
-			warning(_("helper %s does not support 'force'"), data->name);
+			warning(_("helper %s does not support '--force'"), data->name);
 	}

 	helper = get_helper(transport);