return info message to former glory

This commit is contained in:
Geoff McLane 2015-01-22 13:11:16 +01:00
parent daee86302a
commit 7c1211c879

View file

@ -437,7 +437,8 @@ static void help( ctmbstr prog )
printf( "Utility to clean up and pretty print HTML/XHTML/XML\n"); printf( "Utility to clean up and pretty print HTML/XHTML/XML\n");
printf( "\n"); printf( "\n");
printf( "This is an HTML5-aware fork of HTML Tidy, dated %s\n", tidyReleaseDate() ); printf( "This is an HTML5-aware experimental fork of HTML Tidy.\n");
printf( "%s\n", tidyReleaseDate() );
printf( "\n"); printf( "\n");
#ifdef PLATFORM_NAME #ifdef PLATFORM_NAME
@ -458,28 +459,23 @@ static void help( ctmbstr prog )
printf( "Single letter options apart from -f may be combined\n"); printf( "Single letter options apart from -f may be combined\n");
printf( "as in: tidy -f errs.txt -imu foo.html\n"); printf( "as in: tidy -f errs.txt -imu foo.html\n");
printf( "\n"); printf( "\n");
printf( "For the source of this HTML5 fork see https://github.com/geoffmcl/tidy-fork\n" ); printf( "For more information on this HTML5-aware experimental fork of Tidy,\n" );
printf( "This fork started life as a clone of http://w3c.github.com/tidy-html5/\n" ); printf( "see http://w3c.github.com/tidy-html5/\n" );
printf( "\n"); printf( "\n");
printf( "For more information on HTML, see the following:\n" ); printf( "For more information on HTML, see the following:\n" );
printf( "\n"); printf( "\n");
printf( " HTML5: Introduction and tutorial (follow the chapters) from\n");
printf( " http://www.w3schools.com/html/html5_intro.asp\n");
printf( "\n");
printf( " HTML: Edition for Web Authors (the latest HTML specification)\n"); printf( " HTML: Edition for Web Authors (the latest HTML specification)\n");
printf( " http://dev.w3.org/html5/spec-author-view\n" ); printf( " http://dev.w3.org/html5/spec-author-view\n" );
printf( "\n"); printf( "\n");
/* ==============================
appears to be an INVALID link
printf( " HTML: The Markup Language (an HTML language reference)\n" ); printf( " HTML: The Markup Language (an HTML language reference)\n" );
printf( " http://dev.w3.org/html5/markup/\n" ); printf( " http://dev.w3.org/html5/markup/\n" );
printf( "\n"); printf( "\n");
============================== */ printf( "File bug reports at https://github.com/w3c/tidy-html5/issues/\n" );
printf( "File bug reports at https://github.com/geoffmcl/tidy-fork/issues/\n" ); printf( "or send questions and comments to html-tidy@w3.org\n" );
printf( "and/or send questions and comments to tidy _at_ geoffair _dot_ info\n" );
printf( "\n"); printf( "\n");
printf( "Validate your HTML documents using the W3C Markup Validation Service:\n" ); printf( "Validate your HTML documents using the W3C Nu Markup Validator:\n" );
printf( " http://validator.w3.org/ or http://validator.w3.org/nu/" ); printf( "\n");
printf( " http://validator.w3.org/nu/" );
printf( "\n"); printf( "\n");
} }
@ -947,10 +943,10 @@ static void optionvalues( TidyDoc tdoc )
static void version( void ) static void version( void )
{ {
#ifdef PLATFORM_NAME #ifdef PLATFORM_NAME
printf( "HTML Tidy for HTML5 for %s %s\n", printf( "HTML Tidy for HTML5 (experimental) for %s %s\n",
PLATFORM_NAME, tidyReleaseDate() ); PLATFORM_NAME, tidyReleaseDate() );
#else #else
printf( "HTML Tidy for HTML5 %s\n", tidyReleaseDate() ); printf( "HTML Tidy for HTML5 (experimental) %s\n", tidyReleaseDate() );
#endif #endif
} }