From 64dae1d7db822ebab6aa4b2df223a74bf50048cc Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 25 Sep 2015 09:28:49 +0200 Subject: [PATCH] Accept -d as --show-details in all commands that support it --- app/xdg-app-builtins-list.c | 2 +- app/xdg-app-builtins-ls-remote.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/xdg-app-builtins-list.c b/app/xdg-app-builtins-list.c index 5965c1b9..41bb3b91 100644 --- a/app/xdg-app-builtins-list.c +++ b/app/xdg-app-builtins-list.c @@ -38,7 +38,7 @@ static gboolean opt_system; static GOptionEntry options[] = { { "user", 0, 0, G_OPTION_ARG_NONE, &opt_user, "Show user installations", NULL }, { "system", 0, 0, G_OPTION_ARG_NONE, &opt_system, "Show system-wide installations", NULL }, - { "show-details", 0, 0, G_OPTION_ARG_NONE, &opt_show_details, "Show arches and branches", NULL }, + { "show-details", 'd', 0, G_OPTION_ARG_NONE, &opt_show_details, "Show arches and branches", NULL }, { NULL } }; diff --git a/app/xdg-app-builtins-ls-remote.c b/app/xdg-app-builtins-ls-remote.c index 2a4c7e73..c6191435 100644 --- a/app/xdg-app-builtins-ls-remote.c +++ b/app/xdg-app-builtins-ls-remote.c @@ -37,7 +37,7 @@ static gboolean opt_only_apps; static gboolean opt_only_updates; static GOptionEntry options[] = { - { "show-details", 0, 0, G_OPTION_ARG_NONE, &opt_show_details, "Show arches and branches", NULL }, + { "show-details", 'd', 0, G_OPTION_ARG_NONE, &opt_show_details, "Show arches and branches", NULL }, { "runtimes", 0, 0, G_OPTION_ARG_NONE, &opt_only_runtimes, "Show only runtimes", NULL }, { "apps", 0, 0, G_OPTION_ARG_NONE, &opt_only_apps, "Show only apps", NULL }, { "updates", 0, 0, G_OPTION_ARG_NONE, &opt_only_updates, "Show only those where updates are available", NULL },