From 3e66da424d20ee20c664cc1b8868182d89e48e04 Mon Sep 17 00:00:00 2001 From: Jehan Date: Fri, 12 Dec 2025 22:36:11 +0100 Subject: [PATCH] app, etc: do not hide --show-debug-menu. This is a useful debugging function for developers. It is enough to hide the menu by default on stable releases, I don't think we also need to hide the CLI option. Developers don't know all these options by heart, so we need to make them reasonably discoverable! (cherry picked from commit 083360fac12560e9622b4c462661d1e69bf6ed59) --- app/main.c | 2 +- etc/bash_completion.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.c b/app/main.c index 2405e659ad..a77f91fa00 100644 --- a/app/main.c +++ b/app/main.c @@ -310,7 +310,7 @@ static const GOptionEntry main_entries[] = N_("Show a preferences page with experimental features"), NULL }, { - "show-debug-menu", 0, G_OPTION_FLAG_HIDDEN, + "show-debug-menu", 0, 0, G_OPTION_ARG_NONE, &show_debug_menu, N_("Show an image submenu with debug actions"), NULL }, diff --git a/etc/bash_completion.in b/etc/bash_completion.in index eb27cc5bad..4798a2cec2 100644 --- a/etc/bash_completion.in +++ b/etc/bash_completion.in @@ -34,6 +34,7 @@ __gimp() "--pdb-compat-mode" "--session" "--show-playground" + "--show-debug-menu" "--stack-trace-mode" "--system-gimprc" "--verbose"