Improve spacing in HelpText by asherber · Pull Request #494 · commandlineparser/commandline
Usage only
// BEFORE
CommandLine 2.6.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
// AFTER
CommandLine 0.0.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
Error only
// BEFORE
CommandLine 2.6.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
ERROR(S):
Option 'bad' is unknown.
-o Operation to perform.
--help Display this help screen.
--version Display version information.
// AFTER
CommandLine 0.0.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
ERROR(S):
Option 'bad' is unknown.
-o Operation to perform.
--help Display this help screen.
--version Display version information.
Error and Usage
// BEFORE
CommandLine 2.6.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
ERROR(S):
Option 'bad' is unknown.
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
// AFTER
CommandLine 0.0.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
ERROR(S):
Option 'bad' is unknown.
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
Usage and pre-options
// BEFORE
CommandLine 2.6.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
pre-options
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
// AFTER
CommandLine 0.0.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
pre-options
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
Error and pre-options
// BEFORE
CommandLine 2.6.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
pre-options
ERROR(S):
Option 'bad' is unknown.
-o Operation to perform.
--help Display this help screen.
--version Display version information.
// AFTER
CommandLine 0.0.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
pre-options
ERROR(S):
Option 'bad' is unknown.
-o Operation to perform.
--help Display this help screen.
--version Display version information.
Usage, Error, and pre-options
// BEFORE
CommandLine 2.6.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
pre-options
ERROR(S):
Option 'bad' is unknown.
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.
// AFTER
CommandLine 0.0.0
Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors
pre-options
ERROR(S):
Option 'bad' is unknown.
USAGE:
Delete the frobber:
CommandLine -o Delete
-o Operation to perform.
--help Display this help screen.
--version Display version information.