Skip to content

Commit

Permalink
DOC: Add example URLs to parameter docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
adswa committed Oct 9, 2023
1 parent ca712e5 commit 4e760e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions datalad_container/containers_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ class ContainersAdd(Interface):
url=Parameter(
args=("-u", "--url"),
doc="""A URL (or local path) to get the container image from. If
the URL scheme is one recognized by Singularity ('shub://' or
'docker://'), a command format string for Singularity-based
execution will be auto-configured when
the URL scheme is one recognized by Singularity (e.g.,
'shub://neurodebian/dcm2niix:latest' or
'docker://debian:stable-slim'), a command format string for
Singularity-based execution will be auto-configured when
[CMD: --call-fmt CMD][PY: call_fmt PY] is not specified.
For Docker-based container execution with the URL scheme 'dhub://',
the rest of the URL will be interpreted as the argument to
Expand Down

0 comments on commit 4e760e1

Please sign in to comment.