aboutsummaryrefslogtreecommitdiff
path: root/sbofixinfo
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-19 04:56:41 -0400
committerB. Watson <urchlay@slackware.uk>2023-05-19 04:57:23 -0400
commitc24d487db620ff9463f812a71350269f1dfe313f (patch)
tree94d7b25bc93fcf38c954fb64a2a2f9cdd14bdbda /sbofixinfo
parent877e164e9b9066b0ec8f807e674b11bfbab1f870 (diff)
downloadsbo-maintainer-tools-c24d487db620ff9463f812a71350269f1dfe313f.tar.gz
sbofixinfo: make --version work.
Diffstat (limited to 'sbofixinfo')
-rwxr-xr-xsbofixinfo4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbofixinfo b/sbofixinfo
index 53b5ea4..e61e327 100755
--- a/sbofixinfo
+++ b/sbofixinfo
@@ -141,8 +141,8 @@ B<sbolint>(1), B<sbopkglint>(1)
$arg0 = @ARGV ? $ARGV[0] : undef;
for($arg0) {
defined || last;
- /^--?(?:v|ver)$/ && do {
- print "$SELF $VERSION\n";
+ /^--?(?:v|ver.*)$/ && do {
+ print "$VERSION\n";
exit 0;
};
/^--?(?:h|help|doc)$/ && do {