You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2016/07/10 10:14:11 UTC
[jira] [Updated] (YETUS-426) Parser error on specifying just -V
[ https://issues.apache.org/jira/browse/YETUS-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ajay Yadava updated YETUS-426:
------------------------------
Attachment: YETUS-426.00.patch
Sample output:
{code}
(releasedocmaker)ajay@ultron:~/projects/yetus$ python release-doc-maker/releasedocmaker.py -V
0.4.0-SNAPSHOT
{code}
> Parser error on specifying just -V
> ----------------------------------
>
> Key: YETUS-426
> URL: https://issues.apache.org/jira/browse/YETUS-426
> Project: Yetus
> Issue Type: Bug
> Components: Release Doc Maker
> Reporter: Ajay Yadava
> Assignee: Ajay Yadava
> Attachments: YETUS-426.00.patch
>
>
> releasedocmaker has an option (-V ) to display the release version and exit(as per the docs). However, currently it is not possible to give just -V option because of the way the validations are being done. For example
> {code}
> (releasedocmaker)ajay@ultron:~/projects/yetus (425)$ python release-doc-maker/releasedocmaker.py -V
> Usage: releasedocmaker.py [OPTIONS] --project PROJECT [--project PROJECT] --version VERSION [--version VERSION2 ...]
> releasedocmaker.py: error: At least one version needs to be supplied
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)