AutolabJS / autolabcli

Command line client for AutolabJS
https://autolabjs.github.io
GNU General Public License v3.0
10 stars 10 forks source link

mandatory specification of port for mainserver #114

Open prasadtalasila opened 5 years ago

prasadtalasila commented 5 years ago

Description

The prefs change server command
autolabjs prefs changeserver [ --type ms --host <host> --port <port>]
is supposed to optionally take host or port parameters. But if we don't specify the port, the command prompts for both the host and the port.

Steps to Reproduce

  1. Install autolabcli
  2. Run the command: autolabjs prefs changeserver [ --type ms --host <host> --port <port>]
  3. Observe the first prompt string.

Expected behavior: [What you expect to happen] Only port value should be prompted for.

Actual behavior: [What actually happens] The host value is prompted for again.

Reproduces how often: [What percentage of the time does it reproduce?] Every time.

Additional Information

This is not a high priority now. We need to get through other high priority items before we attempt this issue.