aboutsummaryrefslogtreecommitdiff
path: root/sbofixinfo
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-07-07 16:25:34 -0400
committerB. Watson <urchlay@slackware.uk>2022-07-07 16:25:34 -0400
commit3e7fe579412897e312c64a6e757d74148438a924 (patch)
tree4e5a22941e59b154bcb08517874e9c5cd0092df5 /sbofixinfo
parent586ad2ce86475daeed7a09d00dc3e042dc9dde8b (diff)
downloadsbo-maintainer-tools-3e7fe579412897e312c64a6e757d74148438a924.tar.gz
sbolint: add note to try sbofixinfo in check_info()
Diffstat (limited to 'sbofixinfo')
-rwxr-xr-xsbofixinfo18
1 files changed, 8 insertions, 10 deletions
diff --git a/sbofixinfo b/sbofixinfo
index 7c8028e..b467296 100755
--- a/sbofixinfo
+++ b/sbofixinfo
@@ -91,12 +91,13 @@ comprehensive checking.
The file is modified 'in-place', in the same way as the B<-i> option
to B<sed>(1).
-B<sbofixinfo> keeps a backup of the original file with the
-extension I<.bak> appended to the filename. If the backup file already
-exists, it will be silently overwritten. After the new file is generated,
-B<diff>(1) (with its B<-u> and B<--color> options) is run on the backup and modified
-files, and the backup is deleted if the new file is identical. The diff
-output also goes to stdout, so the user can see what changes were made.
+B<sbofixinfo> keeps a backup of the original file with the extension
+I<.bak> appended to the filename. If the backup file already exists,
+it will be silently overwritten. After the new file is generated,
+B<diff>(1) (with its B<-u> and B<--color> options) is run on the
+backup and modified files, and the backup is deleted if the new file
+is identical. The diff output also goes to stdout, so the user can see
+what changes were made.
=head1 EXIT STATUS
@@ -105,10 +106,6 @@ files occur, the exit status will be the error count.
=head1 BUGS
-Misspelled key names (e.g. MD5USM or DOWNLAOD) will be discarded. Not
-a true bug (it's by design), but it violates the principle of least
-surprise a bit.
-
B<sbofixinfo> can't automatically fix every issue B<sbolint> reports.
In particular, missing or extra values (for valid keys) can't
automatically be fixed. This isn't really a bug, as B<sbofixinfo>
@@ -154,6 +151,7 @@ for($arg0) {
exec("pod2man --stderr -s1 -csbo-maintainer-tools -r$VERSION $0") ||
die "$SELF: can't exec pod2man\n";
};
+ # undocumented option:
/^--keytest/ && do {
while(<STDIN>) {
chomp;