From 0ee77ca7bdcced2acf3861fbcc1a3645d6353536 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 14 Nov 2015 15:50:27 +0100 Subject: [PATCH] Issue #299 - allow '--help' to be the same as '-h' --- console/tidy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/console/tidy.c b/console/tidy.c index d3563af..bb9e823 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -1100,6 +1100,7 @@ int main( int argc, char** argv ) tidyOptSetBool( tdoc, TidyQuiet, yes ); else if ( strcasecmp(arg, "help") == 0 || + strcasecmp(arg, "-help") == 0 || strcasecmp(arg, "h") == 0 || *arg == '?' ) { help( prog );