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

[Bug Report] Failure starting using --config flag #53

Closed
flying-sausages opened this issue Jun 2, 2020 · 3 comments
Closed

[Bug Report] Failure starting using --config flag #53

flying-sausages opened this issue Jun 2, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@flying-sausages
Copy link
Collaborator

flying-sausages commented Jun 2, 2020

Describe the bug
When passing --config flag, the binary returns the following error

To Reproduce
Steps to reproduce the behavior:

  1. Download binary
  2. Create config file
  3. Run mango --config="/path/to.yml"

Expected behavior
A clear and concise description of what you expected to happen.
Start up 0.5.0 with the premade config

Environment (please complete the following information):

  • OS:U20.04
  • Mango Version 0.5.0

Docker (if you are running Mango in a Docker container)

  • nope

Additional context

/opt/mango/mango.bin --config="/opt/mango/config.yml"
Unhandled exception: Invalid option: --config=/opt/mango/config.yml (OptionParser::InvalidOption)
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
  from ???
@flying-sausages flying-sausages added the bug Something isn't working label Jun 2, 2020
@flying-sausages
Copy link
Collaborator Author

This however works
/opt/mango/mango.bin admin user list --config=/opt/mango/config.yml

@hkalexling
Copy link
Member

Fixed in v0.5.1. Thanks for the bug report!

@flying-sausages
Copy link
Collaborator Author

Works like a charm now, thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants