diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-19 04:56:41 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2023-05-19 04:57:23 -0400 |
commit | c24d487db620ff9463f812a71350269f1dfe313f (patch) | |
tree | 94d7b25bc93fcf38c954fb64a2a2f9cdd14bdbda /sbofixinfo | |
parent | 877e164e9b9066b0ec8f807e674b11bfbab1f870 (diff) | |
download | sbo-maintainer-tools-c24d487db620ff9463f812a71350269f1dfe313f.tar.gz |
sbofixinfo: make --version work.
Diffstat (limited to 'sbofixinfo')
-rwxr-xr-x | sbofixinfo | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |