diff options
author | EuAndreh <eu@euandre.org> | 2022-11-08 20:11:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-11-08 20:11:54 -0300 |
commit | b1355399977d0bbd332217d7657f65c95e403794 (patch) | |
tree | 8dc4213898ac3da7d1d94fd4576fd533bbe599ba | |
parent | .tdrc: Init (diff) | |
download | remembering-b1355399977d0bbd332217d7657f65c95e403794.tar.gz remembering-b1355399977d0bbd332217d7657f65c95e403794.tar.xz |
src/remembering.in: Remove hyphen between name and version
Also use the @NAME@ placeholder over the hard-coded "remembering" value.
Update tests/clip-opts.sh to match.
Diffstat (limited to '')
-rwxr-xr-x | src/remembering.in | 2 | ||||
-rwxr-xr-x | tests/cli-opts.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/remembering.in b/src/remembering.in index bdf0e37..47c3d48 100755 --- a/src/remembering.in +++ b/src/remembering.in @@ -19,7 +19,7 @@ EOF } version() { - printf 'remembering-@VERSION@ @DATE@\n' + printf '%s %s %s\n' '@NAME@' '@VERSION@' '@DATE@' } missing() { diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index 733636f..ca2998a 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -142,7 +142,7 @@ test_help_flags() { test_version_flags() { testing 'version flags' - REGEX='^remembering-[0-9\.]+ [0-9-]+$' + REGEX='^remembering [0-9\.]+ [0-9-]+$' N="$LINENO" OUT="$(mktemp)" |