[epiphany/mcatanzaro/cli: 10/10] main: properly hide the secret --delete-application flag
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/cli: 10/10] main: properly hide the secret --delete-application flag
- Date: Fri, 4 Jan 2019 15:05:05 +0000 (UTC)
commit 41430f82f664af0070346f20845780a003da5a6e
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Thu Jan 3 16:34:57 2019 -0600
main: properly hide the secret --delete-application flag
Oops, C enum flags are not very typesafe! Not at all!
src/ephy-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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 }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]