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 commands --flags not showing flags via HTTP API #2773

Merged
merged 2 commits into from
May 31, 2016

Commits on May 31, 2016

  1. Fix commands --flags not showing flags via HTTP API

    It was caused by the cmds.Option struct being Interface not struct
    The solution is to create struct and copy interesting data over.
    
    Also removed the "ShowOptions" field from being sent via the HTTP API.
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    Kubuxu committed May 31, 2016
    Configuration menu
    Copy the full SHA
    a6d0fd2 View commit details
    Browse the repository at this point in the history
  2. Add test to prevent future regressions

    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    Kubuxu committed May 31, 2016
    Configuration menu
    Copy the full SHA
    7167e93 View commit details
    Browse the repository at this point in the history