diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 14:14:23 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 14:14:23 +0200 |
commit | 332b7b49ba45a2dde2583436e4f892ccc7e4cc4f (patch) | |
tree | d86d554b5ce4bfa50ad2eeb826e8e47ae243c8f0 /common/files/init | |
parent | feat(common/init): Add support for replacing the variables in file names (diff) | |
download | flake-templates-332b7b49ba45a2dde2583436e4f892ccc7e4cc4f.tar.gz flake-templates-332b7b49ba45a2dde2583436e4f892ccc7e4cc4f.zip |
fix(common/docs): Avoid issue with replacement due to man section part
Diffstat (limited to 'common/files/init')
-rwxr-xr-x | common/files/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/files/init b/common/files/init index 8e3479f..df0b4c5 100755 --- a/common/files/init +++ b/common/files/init @@ -51,7 +51,7 @@ git init # necessary meta data prompt APPLICATION_NAME "The name of the application" "$(basename "$PWD")" prompt APPLICATION_NAME_STYLIZED "The stylized name of the application (for documentation)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]\)/\u\1/')" -prompt APPLICATION_NAME_CAPITALIZED "The capitalized name of the application (for documentation)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]\)/\U\1/')" "dont_ask" +prompt APPLICATION_NAME_CAPITALIZED_MAN_PART "The capitalized name of the application (for documentation also with a man section part)" "$(echo "$APPLICATION_NAME" | sed 's/\([a-z]\)/\U\1(1)/')" "dont_ask" prompt APPLICATION_VERSION "The version of this program, without the prefix" "0.1.0" prompt AUTHOR_NAME "The name of the author (or authors)" "$(git config --get user.name)" |