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

Prevent help output from escaping default values as go strings #347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 16, 2022

  1. Prevent help output from escaping default values as go strings

    When creating the help text for a flag, the default value shouldn't be
    be excaped. It isn't clear to an end user that we would be escaping those values.
    
    Instead we should be printing the actual value and letting the users decide
    when/how to add escaping based on how they're utilzing it.
    
    Fixes spf13#346
    
    Signed-off-by: John Schnake <jschnake@vmware.com>
    johnSchnake committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    1833377 View commit details
    Browse the repository at this point in the history