Debian Codegraph @

debian/patches/document-undocumented-options

raw
1 --- a/buffer.c
2 +++ b/buffer.c
3 @@ -397,7 +397,7 @@
4 }
5 break;
6 default:
7 - fprintf( stderr, "Usage: %s [-B] [-t] [-S size] [-m memsize] [-b blocks] [-p percent] [-s blocksize] [-u pause] [-i infile] [-o outfile] [-z size]\n",
8 + fprintf( stderr, "Usage: %s [-B] [-t] [-S size] [-m memsize] [-b blocks] [-p percent] [-s blocksize] [-u pause] [-i infile] [-o outfile] [-z size] [-Z] [-d]\n",
9 progname );
10 fprintf( stderr, "-B = blocked device - pad out last block\n" );
11 fprintf( stderr, "-t = show total amount written at end\n" );
12 @@ -410,6 +410,8 @@
13 fprintf( stderr, "-i infile = file to read from\n" );
14 fprintf( stderr, "-o outfile = file to write to\n" );
15 fprintf( stderr, "-z size = combined -S/-s flag\n" );
16 + fprintf( stderr, "-Z = seek to beginning of output after each 1GB (for some tape drives)\n" );
17 + fprintf( stderr, "-d = print debug information to stderr\n" );
18 byee( -1 );
19 }
20 }
21 --- a/buffer.man
22 +++ b/buffer.man
23 @@ -25,9 +25,9 @@
24 buffer \- very fast reblocking program
25 .SH SYNTAX
26 .B buffer
27 -[\fB\-S size\fP] [\fB\-b blocks\fP] [\fB\-s size\fP] [\fB\-m size\fP]
28 +[\fB\-S size\fP] [\fB\-b blocks\fP] [\fB\-s size\fP] [\fB\-z size\fP] [\fB\-m size\fP]
29 [\fB\-p percentage\fP] [\fB\-u microseconds\fP] [\fB-B\fR] [\fB-t\fR]
30 -[\fB-Z\fR] [\fB-i filename\fR] [\fB-o filename\fR]
31 +[\fB-Z\fR] [\fB-i filename\fR] [\fB-o filename\fR] [\fB-d\fR]
32 .SH OPTIONS
33 .TP 5
34 .B \-i filename
35 @@ -86,6 +86,9 @@
36 Use this flag with extreme care. It can only be used on devices where
37 an lseek does not rewind the tape but does reset the kernels position
38 flags. It is used to allow more than 2 gigabytes to be written.
39 +.TP
40 +.B \-d
41 +Print debug information to stderr during operation.
42 .PP
43 Sizes are a number with an optional trailing character. A 'b'
44 multiplies the size by 512, a 'k' by 1024 and an 'm' by a meg.