Bug 70025 - pkcon's "-y" option is assigned to both noninteractive and only-download
Summary: pkcon's "-y" option is assigned to both noninteractive and only-download
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 09:00 UTC by Thomas Perl
Modified: 2013-11-10 09:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch -- changes download-only mode to "-d" (1.13 KB, text/plain)
2013-10-02 09:00 UTC, Thomas Perl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Perl 2013-10-02 09:00:32 UTC
Created attachment 86950 [details]
Proposed patch -- changes download-only mode to "-d"

When using the command-line client "pkcon" to download and install packages, using the "-y" flag causes not only the non-interactive mode to be activated, but also the download-only mode to be activated, because the 'y' option character is assigned to both "noninteractive" and "only-download".

Attached is a patch that fixes this, and assigns the 'd' option character to "only-download".
Comment 1 Richard Hughes 2013-11-10 09:39:41 UTC
Pushed, thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.