diff --git a/CHANGELOG.md b/CHANGELOG.md index 73432f3f9..ba52f4cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,17 @@ #### Visual Environment +- [Correct handling of command-line flags.][1815] Command line arguments of the + form `--backend=false` or `--backend false` are now handled as expected and + turn off the "backend" option. The same fix has been applied to all other + boolean command-line options as well. - [Visualizations will be attached after project is ready.][1825] This addresses a rare issue when initially opened visualizations were automatically closed rather than filled with data. +
+ +[1815]: https://github.com/enso-org/ide/pull/1815 [1825]: https://github.com/enso-org/ide/pull/1825 # Enso 2.0.0-alpha.16 (2021-09-16) diff --git a/src/js/lib/client/src/index.js b/src/js/lib/client/src/index.js index df51c354f..b362e2e83 100644 --- a/src/js/lib/client/src/index.js +++ b/src/js/lib/client/src/index.js @@ -103,21 +103,25 @@ optParser.options('project', { optParser.options('server', { group : configOptionsGroup, describe : 'Run the server [true]', + type : 'boolean', }) optParser.options('window', { group : configOptionsGroup, describe : 'Show the window [true]', + type : 'boolean', }) optParser.options('background-throttling', { group : configOptionsGroup, describe : 'Throttle animations when run in background [false]', + type : 'boolean', }) optParser.options('backend', { group : configOptionsGroup, describe : 'Start the backend process automatically [true]', + type : 'boolean', }) optParser.options('backend-path', { @@ -209,6 +213,7 @@ optParser.options('crash-report-host', { optParser.options('data-gathering', { describe : 'Enable the sharing of any usage data', + type : 'boolean', default : true })