From 86e53718e77ee6cdb787bd20757b4f6b20a346f8 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Wed, 2 Oct 2013 10:57:50 +0200 Subject: [PATCH] pkcon: Remove duplicate assignment of '-y' option This avoids a problem where "-y" causes both the non-interactive and the download-only mode to be activated at the same time. --- client/pk-console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pk-console.c b/client/pk-console.c index 445a330..a15c7de 100644 --- a/client/pk-console.c +++ b/client/pk-console.c @@ -1502,7 +1502,7 @@ main (int argc, char *argv[]) { "noninteractive", 'y', 0, G_OPTION_ARG_NONE, &noninteractive, /* command line argument, do we ask questions */ _("Install the packages without asking for confirmation"), NULL }, - { "only-download", 'y', 0, G_OPTION_ARG_NONE, &only_download, + { "only-download", 'd', 0, G_OPTION_ARG_NONE, &only_download, /* command line argument, do we just download or apply changes */ _("Prepare the transaction by downloading pakages only"), NULL }, { "background", 'n', 0, G_OPTION_ARG_NONE, &background, -- 1.8.4.rc3