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

Custom help #50

Merged
merged 6 commits into from
Jan 29, 2020
Merged

Custom help #50

merged 6 commits into from
Jan 29, 2020

Commits on Oct 18, 2019

  1. Finishes addressing issue akamensky#29

    Adds a Settings struct for creating parsers/commands with
    NewParserWithSettings or NewCommandWithSettings.
    
    Settings
    	HelpDisabled -	defaults false, set true to not generate a help
    			argument for parser/command
    	HelpSname -	short name for the parser/command help argument.
    			Can be left empty
    	HelpLname -	long name for the parser/command help argument.
    			Leaving empty forces use of -h/--help when
    			HelpDisabled is false
    	NoExitOnHelp -	defaults false, set true to not exit on help
    			argument being parsed
    
    Should resolve all outstanding help argument issues.
    densestvoid committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    0f6d107 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2019

  1. Configuration menu
    Copy the full SHA
    9da2c2e View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Finishing Issue akamensky#29

    Fixed merge conflict error due to check function return type change confusion.
    densestvoid committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    d5a30b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2020

  1. Updated Settings Object to multiple function calls

    Added functions:
    	DisableHelp
    	SetHelp
    	ExitOnHelp
    
    Added Command.exitOnHelp
    
    Added more tests to increase code coverage
    densestvoid committed Jan 25, 2020
    Configuration menu
    Copy the full SHA
    f720dad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cd9975 View commit details
    Browse the repository at this point in the history
  3. Updated no help example

    densestvoid committed Jan 25, 2020
    Configuration menu
    Copy the full SHA
    44b8b28 View commit details
    Browse the repository at this point in the history