Bug 696506

Summary: Python client commands should accept --help/-h
Product: [Retired] Zanata Reporter: Sean Flanigan <sflaniga>
Component: Component-PythonClientAssignee: James Ni <jni>
Status: CLOSED DUPLICATE QA Contact: Ding-Yi Chen <dchen>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ktakemur, zanata-bugs
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: 2011-10-18 04:16:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sean Flanigan 2011-04-14 07:43:45 UTC
You can get help for the python client's various commands using:
  zanata help <command>

But unlike a lot of other tools (eg svn), you can't use
  zanata <command> --help
  zanata <command> -h

We should add these options as synonyms for the corresponding help commands.

Comment 1 Kenichi Takemura 2011-05-05 23:39:30 UTC
I need this feature literally.

Comment 2 Sean Flanigan 2011-05-06 00:55:43 UTC
Kenichi, why is this enhancement high priority for you?  Can't you just type "zanata help <command>" ?

Comment 3 Kenichi Takemura 2011-05-06 01:03:20 UTC
Oh sorry i neglected the first part of Comment 0.

You can get help for the python client's various commands using:
  zanata help <command>

This is what I wanted but how to get to know above? zanata help does not explain so.

Comment 4 James Ni 2011-05-10 01:31:01 UTC
I add this feature in commit 6e5e728 in devel branch of zanata client on github. You can check out and test it. This feature will include in next release version of zanata client.

Comment 5 Ding-Yi Chen 2011-10-18 04:16:59 UTC

*** This bug has been marked as a duplicate of bug 738510 ***