RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 848502 - pkcon help says refresh [--force] incorrectly
Summary: pkcon help says refresh [--force] incorrectly
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: 7.0
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-15 19:11 UTC by Vladimir Benes
Modified: 2012-11-01 10:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-01 10:09:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vladimir Benes 2012-08-15 19:11:36 UTC
Description of problem:
pkcon help says refresh [--force] but it should say [force] only. In older version both --force and force worked but now (F17) just force works.

Version-Release number of selected component (if applicable):
PackageKit-0.7.4-5.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.excute 'pkcon --help' 
2.execute 'pkcon refresh --force
3.
  
Actual results:
there is a [--force] option in refresh and the second command says option not available

Expected results:
help should be consistent with cli options

Additional info:

Comment 1 Richard Hughes 2012-11-01 10:09:49 UTC
commit d25058ef6ae2c9eac9cb713ecf013d0beaf51831
Author: Richard Hughes <richard>
Date:   Thu Nov 1 10:12:21 2012 +0000

    Do not use --force for 'pkcon refresh' it gets swallowed by the option parser
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=848502


Note You need to log in before you can comment on or make changes to this bug.