Mercurial > irccd
changeset 354:6b0e202ed9a0
Irccdctl: show usage in help
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 14 Nov 2016 21:02:44 +0100 |
parents | b59767d7f3d3 |
children | ace71e2b8e2a |
files | irccdctl/main.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/irccdctl/main.cpp Mon Nov 14 18:35:44 2016 +0100 +++ b/irccdctl/main.cpp Mon Nov 14 21:02:44 2016 +0100 @@ -90,6 +90,7 @@ if (it == commands.end()) { log::warning() << "no command named " << command << std::endl; } else { + log::warning() << "usage: " << sys::programName() << " " << (*it)->usage() << "\n" << std::endl; log::warning() << (*it)->help() << std::endl; }