contrib/mktorrent/mktorrent-0.2.diff
2007-04-03 13:50:15 +03:00

22 lines
1.1 KiB
Diff

diff -uprN mktorrent-0.2.old/init.c mktorrent-0.2/init.c
--- mktorrent-0.2.old/init.c 2007-02-25 22:50:11.000000000 +0200
+++ mktorrent-0.2/init.c 2007-03-30 01:26:32.152281353 +0300
@@ -213,7 +213,7 @@ static void print_help()
"-o, --output=<filename> : set the path and filename of the created file\n"
" default is <name>.torrent\n"
"-p, --piece-length=<n> : set the piece length to 2^n bytes,\n"
- " default is 18, that is 2^18 = 265kb.\n"
+ " default is 18, that is 2^18 = 256kb.\n"
"-v, --verbose : be verbose\n"
"\nPlease send bug reports, patches, feature requests, praise and\n"
"general gossip about the program to: esmil@imf.au.dk\n");
@@ -249,7 +249,7 @@ void init(int argc, char *argv[])
{"announce", 1, NULL, 'a'},
{"comment", 1, NULL, 'c'},
{"no-date", 0, NULL, 'd'},
- {"help", 1, NULL, 'h'},
+ {"help", 0, NULL, 'h'},
{"name", 1, NULL, 'n'},
{"output", 1, NULL, 'o'},
{"piece-length", 1, NULL, 'p'},