From b7f3be774a58c8c1fb69caf19cd4419a1fe8e9ed Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Sun, 10 May 2015 08:21:58 +0200 Subject: [PATCH] Fixed #141 by removal of the double help listing. --- INSTALLATION.md | 2 +- README.md | 1 + src/hstr.c | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index c8ee0a1..9d5bf55 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -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). diff --git a/README.md b/README.md index 7c3ace7..a439fdd 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/hstr.c b/src/hstr.c index f33c624..bb7f3a7 100644 --- a/src/hstr.c +++ b/src/hstr.c @@ -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); }