Skip to content

place a placeholder for $VERSION in help text and replace it when displaying usage#48

Open
samirnoman wants to merge 1 commit intodanny0838:mainfrom
samirnoman:version_help_var
Open

place a placeholder for $VERSION in help text and replace it when displaying usage#48
samirnoman wants to merge 1 commit intodanny0838:mainfrom
samirnoman:version_help_var

Conversation

@samirnoman
Copy link
Contributor

This is a minor change which may help maintaining the version number. Right now, the version number text appears in two places in the file:

  • at the end of the Usage message; which is placed at the top of the file
  • when assiging $VERSION variable

This change places a placeholder in the Usage message ($VERSION , but could be anything __VERSION__, {VERSION}, ... etc)
and in function usage, it will be replaced by $VERSION

@danny0838
Copy link
Owner

Please do not include linefeed change in the commits.

@samirnoman
Copy link
Contributor Author

fixed eol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments