Bug 783562

Summary: Examples printed for xcalib -h are incorrect
Product: [Fedora] Fedora Reporter: Matt Hirsch <matthew.hirsch>
Component: xcalibAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: kwizart
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-26 15:42:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch against xcalib-0.8-9.fc17.x86_64 to fix the reported documentation probelm
none
This amended patch actually fixes both errors in the bug. none

Description Matt Hirsch 2012-01-20 20:25:29 UTC
Description of problem:

The example command usage printed when a user runs xcalib -h are incorrect. They use a relative path ./ before the command, and the second command should contain -a at the end. Without the -a, xcalib gives the error: Warning - Unable to read file ''


Version-Release number of selected component (if applicable):
xcalib-0.8-8.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. xcalib -h
  
Actual results:

Example: ./xcalib -d :0 -s 0 -v bluish.icc
Example: ./xcalib -red 1.1 10.0 100.0


Expected results:

Example: xcalib -d :0 -s 0 -v bluish.icc
Example: xcalib -red 1.1 10.0 100.0 -a

Comment 1 Nicolas Chauvet (kwizart) 2012-03-10 19:46:03 UTC
Thx for the report.
Could you contribute the patch from the xcalib sources ?

Comment 2 Matt Hirsch 2012-10-10 16:07:43 UTC
Created attachment 624984 [details]
Patch against xcalib-0.8-9.fc17.x86_64 to fix the reported documentation probelm

The attached patch is against xcalib-0.8-9.fc17.x86_64 and fixes the reported documentation problem.

Comment 3 Matt Hirsch 2012-10-10 16:11:46 UTC
Created attachment 624987 [details]
This amended patch actually fixes both errors in the bug.

Comment 4 Matt Hirsch 2013-01-24 07:25:42 UTC
Still hasn't been fixed.

Comment 5 Nicolas Chauvet (kwizart) 2013-01-26 15:42:54 UTC
merged in rawhide
http://koji.fedoraproject.org/koji/buildinfo?buildID=380715