diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
| commit | eab0b1c2d649fa16707b24cd2a91f195078167b0 (patch) | |
| tree | e960f351655305e3911089ff75677caef364a280 /src/cli/cli.cpp | |
| parent | 07706f56cd421bf8b101a5c0fe44674d36e161a0 (diff) | |
tagging ychat-0.7.2ychat-0.7.2
Diffstat (limited to 'src/cli/cli.cpp')
| -rwxr-xr-x | src/cli/cli.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/cli.cpp b/src/cli/cli.cpp index dd70b4c..2b110db 100755 --- a/src/cli/cli.cpp +++ b/src/cli/cli.cpp @@ -38,13 +38,13 @@ cli::parse_input( string s_input ) cout << CLIPRMO << " (ex)it - Quits CLI mode and respawns ncurses mode" << endl; #endif cout << CLIPRMO << " (h)elp - Prints out this help!" << endl - << CLIPRMO << " (m)ysql - Runs MySQL client on yhttpd DB" << endl; + << CLIPRMO << " (m)ysql - Runs MySQL client on yChat DB" << endl; cout << CLIPRMO << " (rel)oad - Reloads all modules" << endl; #ifdef EXPERIM cout << CLIPRMO << " (re)conf - Reloads configuration (EXPERIMENTAL)" << endl; #endif cout << CLIPRMO << " (r)usage - Shows current resource usage" << endl - << CLIPRMO << " (ru)sageh - Shows resource usage history (yhttpd needs to run > 1 day)" << endl + << CLIPRMO << " (ru)sageh - Shows resource usage history (yChat needs to run > 1 day)" << endl << CLIPRMO << " (set) VAR VAL - Sets configuration value VAR to VAL" << endl << CLIPRMO << " (sh)ell - Runs a system shell" << endl << CLIPRMO << " (s)hutdown - Shuts down the whole server" << endl @@ -112,7 +112,7 @@ cli::parse_input( string s_input ) #ifdef EXPERIM else if( s_input.compare("reconf") == 0 || s_input.compare("re") == 0 ) { - wrap::HTTPD->reconf(); + wrap::CHAT->reconf(); cout << CLIPRMI; } #endif @@ -188,7 +188,7 @@ cli::parse_input( string s_input ) } else if( s_input.compare("v") == 0 || s_input.compare("version") == 0 ) { - cout << CLIPRMO << tool::yhttpd_version() << " " << UNAME << endl; + cout << CLIPRMO << tool::ychat_version() << " " << UNAME << endl; cout << CLIPRMI; } else |
