summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-12-14 17:02:41 +0100
committerVincent Untz <vuntz@gnome.org>2011-12-14 17:03:25 +0100
commit0df0ca25aab182de40ca0ca3803dafb103eb9db5 (patch)
treea99156e1f7174e2341fa1ad9b895d2a78426e871
parent52293fd32e85c630a4141dde726b13ac506eec60 (diff)
install: Add hidden --edit-mode to force edit mode
This helps the developer test the mode without installing :-)
-rw-r--r--src/install.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/install.c b/src/install.c
index bfe1aad..6329400 100644
--- a/src/install.c
+++ b/src/install.c
@@ -318,6 +318,15 @@ static const GOptionEntry main_options[] = {
N_("Rebuild the MIME types application database after processing desktop files"),
NULL
},
+ {
+ "edit-mode",
+ '\0',
+ G_OPTION_FLAG_HIDDEN, /* just for development purpose */
+ G_OPTION_ARG_NONE,
+ &edit_mode,
+ N_("Force edit mode"),
+ NULL
+ },
{ G_OPTION_REMAINING,
0,
0,