Fixed #141 by removal of the double help listing.

This commit is contained in:
Martin Dvorak 2015-05-10 08:21:58 +02:00
parent a722292549
commit b7f3be774a
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ INSTALLATION
============
Install `hh` using [distribution](#distribution-installation),
from [source code](#installation-from-source-code), on [Ubuntu](#ubuntu),
[Fedora/RHEL/CentOS](#fedorarhelcentos), [Debian/Mint](#debianmint),
[Fedora/RHEL/CentOS/ScientificLinux](#fedorarhelcentos), [Debian/Mint](#debianmint),
[Arch Linux](#arch-linux) or [Mac OS](#mac-os).

View file

@ -36,6 +36,7 @@ Install HSTR:
* [Debian](INSTALLATION.md#debianmint)
* [Mint](INSTALLATION.md#debianmint)
* [Arch Linux](INSTALLATION.md#arch-linux)
* [Scientific Linux](#fedorarhelcentos)
* [Mac OS](INSTALLATION.md#mac-os)

View file

@ -201,7 +201,7 @@ static const char *HELP_STRING=
"\n";
static const char *VERSION_STRING=
"hh version \"1.17\""
"hh version \"1.18\""
"\n build \""__DATE__" " __TIME__"\""
"\n";
@ -1196,7 +1196,6 @@ void hstr_getopt(int argc, char **argv, Hstr *hstr)
case '?':
default:
printf("Unrecognized option: '%s'", HELP_STRING);
printf("%s", HELP_STRING);
exit(EXIT_SUCCESS);
}