diff options
author | Vincent Untz <vuntz@gnome.org> | 2011-12-14 17:02:41 +0100 |
---|---|---|
committer | Vincent Untz <vuntz@gnome.org> | 2011-12-14 17:03:25 +0100 |
commit | 0df0ca25aab182de40ca0ca3803dafb103eb9db5 (patch) | |
tree | a99156e1f7174e2341fa1ad9b895d2a78426e871 | |
parent | 52293fd32e85c630a4141dde726b13ac506eec60 (diff) |
install: Add hidden --edit-mode to force edit mode
This helps the developer test the mode without installing :-)
-rw-r--r-- | src/install.c | 9 |
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, |