Hi folks,
Please find attached a minor patch for id-shr-extract.c (make the error/help
output more sensical; don't append argc) and a manpage for it (+ patch to
Makefile.am)
Consider my contributions licensed in the same terms as the rest of dynamite.
--
Jon Dowland
.TH ID-SHR-EXTRACT "1" "April 2011" "id-shr-extract" "User Commands"
.SH NAME
id-shr-extract \- ID SHR data file extractor
.SH SYNOPSIS
id-shr-extract <filename.SHR>
.SH DESCRIPTION
id-shr-extract is a tool to extract the data from .SHR installer files.
.
These files were used by early ID Software games.
Index: src/id-shr-extract.c
===================================================================
--- src/id-shr-extract.c (revision 4010)
+++ src/id-shr-extract.c (working copy)
@@ -47,7 +47,7 @@
size_t i, compressed_size;
if (argc != 2) {
- fprintf(stderr, "%s: Usage: %s <filename.SHR> %d\n", argv[0], argv[0], argc);
+ fprintf(stderr, "%s: Usage: %s <filename.SHR>\n", argv[0], argv[0]);
return 1;
}
Index: man/Makefile.am
===================================================================
--- man/Makefile.am (revision 4010)
+++ man/Makefile.am (working copy)
@@ -1,3 +1,3 @@
-man_MANS = dynamite.1
+man_MANS = dynamite.1 id-shr-extract.1
EXTRA_DIST = $(man_MANS)
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel