diff options
author | Carsten Leonhardt <leo@debian.org> | 2020-11-01 13:32:43 +0100 |
---|---|---|
committer | Carsten Leonhardt <leo@debian.org> | 2020-11-01 13:32:43 +0100 |
commit | 4788ea20fa1441273d3dcf6ab12f2d2342032406 (patch) | |
tree | 25dfc5dd5e01301503f0cd8065c7d7b6dc40bd05 | |
parent | 798914ab1dbd40614c6308beb7a389d8bf79a0a0 (diff) |
Fix scsitape usage messagedebian/1.3.12-13
Add the "erase" operation to the usage message of scsitape. (Hint
found at Rosa Linux)
-rw-r--r-- | debian/patches/008-fix-scsitape-usage-message | 17 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/008-fix-scsitape-usage-message b/debian/patches/008-fix-scsitape-usage-message new file mode 100644 index 0000000..5c347b2 --- /dev/null +++ b/debian/patches/008-fix-scsitape-usage-message @@ -0,0 +1,17 @@ +Description: Fix scsitape usage message +Author: Carsten Leonhardt <leo@debian.org> +Last-Update: 2020-11-01 + +Add the "erase" operation to the usage message of scsitape. (Hint found at Rosa Linux) + +--- a/scsitape.c ++++ b/scsitape.c +@@ -63,7 +63,7 @@ + #endif + + void Usage(void) { +- FatalError("Usage: scsitape -f <generic-device> <command> where <command> is:\n setblk <n> | fsf <n> | bsf <n> | eod | rewind | eject | mark <n> |\n seek <n> | read [<blksize> [<numblocks]] | write [<blocksize>] \n"); ++ FatalError("Usage: scsitape -f <generic-device> <command> where <command> is:\n setblk <n> | fsf <n> | bsf <n> | eod | rewind | eject | erase |\n mark <n> | seek <n> | read [<blksize> [<numblocks]] | write [<blocksize>]\n"); + } + + #define arg1 (arg[0]) /* for backward compatibility, sigh */ diff --git a/debian/patches/series b/debian/patches/series index 65fba00..b08a4df 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ 005-remove-argc-output 006-fix-quotation-in-manpage 007-man-Document-mtx-eject-and-previous-operations +008-fix-scsitape-usage-message |