Skip to content

Commit

Permalink
Merge pull request #290 from datalad/fixcli
Browse files Browse the repository at this point in the history
Fix broken argparse name specification
  • Loading branch information
mih committed Apr 20, 2023
2 parents 1d3b271 + 4991bf0 commit 478849a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions changelog.d/20230407_093812_michael.hanke_fixcli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### 🐛 Bug Fixes

- Wrong argument specification broke the commmand line interface of
`add-sibling-dataverse`. Fixes
https://github.com/datalad/datalad-dataverse/issues/289 via
https://github.com/datalad/datalad-dataverse/pull/290 (by
[@mih](https://github.com/mih))
3 changes: 2 additions & 1 deletion datalad_dataverse/add_sibling_dataverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ class AddSiblingDataverse(ValidatedInterface):
doc="""URL identifying the dataverse instance to connect to
(e.g., https://demo.dataverse.org)""",),
ds_pid=Parameter(
args=("PID",),
args=("ds_pid",),
metavar=("PID",),
doc="""Persistent identifier of the dataverse dataset to
use as a sibling. This PID can be found on the dataset's
landing page on Dataverse. Either right at the top
Expand Down

0 comments on commit 478849a

Please sign in to comment.