Bug 991316

Summary: Wrong parse of virt-viewer -V and -H parameter
Product: Red Hat Enterprise Linux 7 Reporter: tingting zheng <tzheng>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, cfergeau, codong, dblechte, dyuan, hyao, lcui, mjenner, mzhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 991315 Environment:
Last Closed: 2013-08-05 06:20:51 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:
Bug Depends On: 991315    
Bug Blocks:    

Description tingting zheng 2013-08-02 06:38:15 UTC
The issue can also be reproduced on rhel7,so cloned the bug.

+++ This bug was initially created as a clone of Bug #991315 +++

Description
Wrong parse of virt-viewer -V and -H parameter

Version:
virt-viewer-0.5.6-6.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Check virt-viewer manual and help,for -V and -H parameter:
Application Options:
  -V, --version                                                     Display version information
  -H, --hotkeys                                                     Customise hotkeys

2.Try virt-viewer with the above 2 parameters:
# virt-viewer -V
virt-viewer version 0.5.6
# virt-viewer -Vsldlfsldf
virt-viewer version 0.5.6

# virt-viewer -H
Missing argument for -H
Run 'virt-viewer --help' to see a full list of available command line options
# virt-viewer -Hssldfl
Missing argument for -H
Run 'virt-viewer --help' to see a full list of available command line options


Actual results:
As description.

Expected results:
virt-viewer only parse -V and -H parameter instead of parameters begin with -V and -H.

Additional info:
The same issue with remote-viewer -V and -H parameter

Comment 2 tingting zheng 2013-08-05 06:20:51 UTC
As bug 991315 has been closed as "CLOSED NOTABUG",I will close this bug.