Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Fix parsing of boolean command line options #1815

Merged
merged 6 commits into from
Sep 23, 2021

Conversation

s9ferech
Copy link
Contributor

@s9ferech s9ferech commented Aug 25, 2021

Pull Request Description

Instruct our argument parser to parse boolean options as booleans. Previously, when given command line arguments like --option=false or --option false, we would assign the string 'false' to option. Now we correctly assign the boolean false. This fixes issue #1813.

Important Notes

Checklist

Please include the following checklist in your PR:

  • The CHANGELOG.md was updated with the changes introduced in this PR.
  • The documentation has been updated if necessary.
  • All code conforms to the Rust style guide.
  • All code has automatic tests where possible.
  • All code has been profiled where possible.
  • All code has been manually tested in the IDE.
  • All code has been manually tested in the "debug/interface" scene.
  • All code has been manually tested by the PR owner against our test scenarios.
  • All code has been manually tested by at least one reviewer against our test scenarios.

@s9ferech s9ferech added Priority: High Should be scheduled as soon as possible Type: Bug A bug in Enso IDE labels Aug 25, 2021
@s9ferech s9ferech self-assigned this Aug 25, 2021
@s9ferech s9ferech requested a review from wdanilo as a code owner August 25, 2021 12:20
CHANGELOG.md Outdated

#### Visual Environment

- [Correct handling of command-line flags.][1815] Command line arguments of the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in the "Next Release" section.

@MichaelMauderer MichaelMauderer merged commit 275eea1 into develop Sep 23, 2021
mwu-tow pushed a commit to enso-org/enso that referenced this pull request Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Priority: High Should be scheduled as soon as possible Type: Bug A bug in Enso IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants