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!
This commit is contained in:
Jehan 2025-12-12 22:36:11 +01:00
parent 37cbe1dc45
commit 083360fac1
2 changed files with 2 additions and 1 deletions

View file

@ -297,7 +297,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
},

View file

@ -34,6 +34,7 @@ __gimp()
"--pdb-compat-mode"
"--session"
"--show-playground"
"--show-debug-menu"
"--stack-trace-mode"
"--system-gimprc"
"--verbose"