[gnome-text-editor] app: add -i and -n command-line variants
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] app: add -i and -n command-line variants
- Date: Fri, 11 Feb 2022 23:49:44 +0000 (UTC)
commit b0a3cf20c472dc9477979f540ec076a7d523b330
Author: Christian Hergert <chergert redhat com>
Date: Fri Feb 11 15:49:40 2022 -0800
app: add -i and -n command-line variants
Just short options for --ignore-session and --new-window.
src/editor-application.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/editor-application.c b/src/editor-application.c
index b220836..b472f0c 100644
--- a/src/editor-application.c
+++ b/src/editor-application.c
@@ -596,8 +596,8 @@ editor_application_class_init (EditorApplicationClass *klass)
}
static const GOptionEntry entries[] = {
- { "ignore-session", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Do not restore session at startup") },
- { "new-window", 0, 0, G_OPTION_ARG_NONE, NULL, N_("Open provided files in a new window") },
+ { "ignore-session", 'i', 0, G_OPTION_ARG_NONE, NULL, N_("Do not restore session at startup") },
+ { "new-window", 'n', 0, G_OPTION_ARG_NONE, NULL, N_("Open provided files in a new window") },
{ 0 }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]