diff --git a/README.md b/README.md index 969f9b9e..99975149 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ Python modules are loaded through the global module [ModPython](http://wiki.znc. ## Further infos -Please visit http://znc.in/ or #znc on EFNet or freenode if you still have questions. +Please visit http://znc.in/ or #znc on freenode if you still have questions. You can get the latest development version with git: git clone git://github.com/znc/znc.git diff --git a/src/main.cpp b/src/main.cpp index b4ac6e12..465e1a0d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -248,8 +248,9 @@ int main(int argc, char** argv) { } if (optind < argc) { - CUtils::PrintError("Specifying a config file as an argument isn't supported anymore."); - CUtils::PrintError("Use --datadir instead."); + CUtils::PrintError("Unrecognized command line arguments."); + CUtils::PrintError("Did you mean to run `/znc " + CString(argv[optind]) + "' in IRC client instead?"); + CUtils::PrintError("Hint: `/znc " + CString(argv[optind]) + "' is an alias for `/msg *status " + CString(argv[optind]) + "'"); return 1; }