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

Fix two CLI option parsing bugs #5063

Merged
merged 1 commit into from
Jan 13, 2021

Conversation

ghubstan
Copy link
Contributor

@ghubstan ghubstan commented Jan 8, 2021

  • Fix bug locating index of method name in String[] args when handling any negative number opt.

  • Make createoffer method's security-deposit param format consistent with UI's.
    When creating an offer, the CLI should take "15.0", not "0.15" as a 15% security deposit. This is consistent with the UI, and the CLI's mkt-price-margin input format.

- Fix bug locating index of method name in String[] args.

- Make createoffer method's security-deposit param format consistent with UI's.

  When creating an offer, the CLI should take "15.0", not "0.15" as
  a 15% security deposit.  This is consistent with the UI, and the
  CLI's mkt-price-margin input format.
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

utACK

@sqrrm sqrrm merged commit fe32c91 into bisq-network:master Jan 13, 2021
@ghubstan ghubstan deleted the fix-cli-negative-opts-parsing branch January 13, 2021 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants