Skip to content

Commit

Permalink
adding version
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroesb committed Jun 10, 2021
1 parent 47a53a2 commit 14039f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Minimal: ena-upoad-cli --action {add,modify,cancel,release} --center CENTER_NAM
All supported arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--action {add,modify,cancel,release}
add: add an object to the archive
modify: modify an object in the archive
Expand Down
2 changes: 1 addition & 1 deletion ena_upload/ena_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def process_args():
corresponding the ENA objects -- STUDY,
SAMPLE, EXPERIMENT and RUN.''',
formatter_class=SmartFormatter)

parser.add_argument('--version', action='version', version='%(prog)s 0.3.0')
parser.add_argument('--action',
choices=['add', 'modify', 'cancel', 'release'],
required=True,
Expand Down

0 comments on commit 14039f6

Please sign in to comment.