summaryrefslogtreecommitdiff
path: root/src/ephy-main.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2019-01-03 16:34:57 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2019-01-04 09:04:12 -0600
commit41430f82f664af0070346f20845780a003da5a6e (patch)
tree55540b9742e423db5a26bf3b1d361e007431e45e /src/ephy-main.c
parente1633450b04cc2332caf637f3189c6187008fd2d (diff)
downloadepiphany-41430f82f664af0070346f20845780a003da5a6e.tar.gz
main: properly hide the secret --delete-application flag
Oops, C enum flags are not very typesafe! Not at all!
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r--src/ephy-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index a2c3fadd4..132bad30f 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -128,7 +128,7 @@ static const GOptionEntry option_entries[] =
"", N_("URL …") },
{ "version", 0, G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_HIDDEN,
G_OPTION_ARG_CALLBACK, option_version_cb, NULL, NULL },
- { "delete-application", 0, 0, G_OPTION_ARG_STRING | G_OPTION_FLAG_HIDDEN,
+ { "delete-application", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING,
&application_to_delete, NULL, NULL },
{ NULL }
};