Bug 696506 - Python client commands should accept --help/-h
Summary: Python client commands should accept --help/-h
Keywords:
Status: CLOSED DUPLICATE of bug 738510
Alias: None
Product: Zanata
Classification: Retired
Component: Component-PythonClient
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: James Ni
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 07:43 UTC by Sean Flanigan
Modified: 2011-10-18 04:16 UTC (History)
2 users (show)

Fixed In Version:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-10-18 04:16:59 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


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