Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate command line options are interpreted as an array #38

Open
garnold opened this issue Apr 28, 2015 · 0 comments
Open

Duplicate command line options are interpreted as an array #38

garnold opened this issue Apr 28, 2015 · 0 comments

Comments

@garnold
Copy link
Contributor

garnold commented Apr 28, 2015

For example, when specifying the --ssh-key argument on the command line twice, an array is stored in ssh_key:

$ overcast instance import foo 1.2.3.4 --ssh-key bar --ssh-key baz
Using "default" cluster.
Instance "foo" (1.2.3.4) has been imported to the "default" cluster.

$ overcast info foo
Using /Users/garnold/.overcast/clusters.json

foo
  ip: 1.2.3.4
  name: foo
  ssh_port: 22
  ssh_key:
    0: bar
    1: baz
  user: root
  password: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant