aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {