Debian Codegraph @

debian/patches/008-fix-scsitape-usage-message

raw
1 Description: Fix scsitape usage message
2 Author: Carsten Leonhardt <[email protected]>
3 Last-Update: 2020-11-01
4
5 Add the "erase" operation to the usage message of scsitape. (Hint found at Rosa Linux)
6
7 --- a/scsitape.c
8 +++ b/scsitape.c
9 @@ -63,7 +63,7 @@
10 #endif
11
12 void Usage(void) {
13 - 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");
14 + 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");
15 }
16
17 #define arg1 (arg[0]) /* for backward compatibility, sigh */