From 6d16eee6af1e7620f305fd826111c0794f330fd5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Oct 2013 16:20:40 -0400 Subject: version: Add executable name to output. --- (limited to 'lib/cmd') 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' -- cgit v0.9.1