Skip to content

Commit

Permalink
colomoto-docker: properly collect remaining arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Apr 21, 2020
1 parent 63cfea7 commit be61caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions colomoto_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import print_function

from argparse import ArgumentParser
from argparse import ArgumentParser, REMAINDER
import os
from contextlib import closing
from getpass import getuser
Expand Down Expand Up @@ -105,7 +105,7 @@ def main():
help="Bind mount a volume")
docker_run_opts = ["env", "name", "volume"]

parser.add_argument("command", nargs="*", help="Command to run instead of colomoto-nb")
parser.add_argument("command", nargs=REMAINDER, help="Command to run instead of colomoto-nb")
args = parser.parse_args()

image_tag = args.version
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name="colomoto-docker",
version = "7.4",
version = "7.5",
author = "Loïc Paulevé",
author_email = "loic.pauleve@ens-cachan.org",
url = "https://github.com/colomoto/colomoto-docker",
Expand Down

0 comments on commit be61caa

Please sign in to comment.