summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-23 16:20:40 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-23 16:20:40 (EDT)
commit6d16eee6af1e7620f305fd826111c0794f330fd5 (patch)
tree3e967cd1e02e848df847ab6d334879c465026e66
parent54a3f8e58e22c8bc5f9db4c628795fdad23e2956 (diff)
version: Add executable name to output.
-rw-r--r--lib/cmd/version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cmd/version.sh b/lib/cmd/version.sh
index c8ce5c1..60320a1 100644
--- a/lib/cmd/version.sh
+++ b/lib/cmd/version.sh
@@ -19,7 +19,7 @@
cmd_version_main()
{
- printf '%s %s\n' "${PACKAGE_NAME}" "${PACKAGE_VERSION}"
+ printf '%s (%s) %s\n' "${0##*/}" "${PACKAGE_NAME}" "${PACKAGE_VERSION}"
printf "$(get_msg 'cmd_version_copyright')\n" \
'2013' 'Patrick "P. J." McDermott'