[MXS-3308] Passing options in interactive mode returns an empty error Created: 2020-11-24 Updated: 2021-08-25 Resolved: 2021-08-25 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxctrl |
| Affects Version/s: | 2.5.5 |
| Fix Version/s: | 6.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | MXS-SPRINT-121, MXS-SPRINT-138 | ||||||||
| Description |
|
The following command in interactive mode:
produces the following error:
This seems to be due to duplicate arguments being given on the "virtual" command line to which the user input is given to. |
| Comments |
| Comment by markus makela [ 2021-01-05 ] |
|
Seems the fix to this problem causes another, more serious, problem: https://github.com/yargs/yargs/issues/1318#issuecomment-754632732 |
| Comment by markus makela [ 2021-08-18 ] |
|
Filed a new bug for the issue: https://github.com/yargs/yargs/issues/2011 |
| Comment by markus makela [ 2021-08-25 ] |
|
Added a workaround that prevents the global options from being used in interactive mode. |