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

cli upgrage command don't parse port option #30

Open
pepoviola opened this issue Feb 26, 2015 · 0 comments
Open

cli upgrage command don't parse port option #30

pepoviola opened this issue Feb 26, 2015 · 0 comments

Comments

@pepoviola
Copy link

Hi, if I start a the process in a no default port when I try to upgrade (using the cli ) the port is never passed to the upgrde function.

if (argv.u) { 
  client.upgrade(argv.u, done)
}

I think we can build the opts object before call like this:

 var opts = {
    address: argv.a,
    value: path.resolve(argv.u),
    port: argv.p,
  }

client.upgrade(opts, done)

Thanks in advance!

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