Bug 848502

Summary: pkcon help says refresh [--force] incorrectly
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED UPSTREAM QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 10:09:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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