diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | hadori.C | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -23,7 +23,7 @@ CPPFLAGS+=-D_FILE_OFFSET_BITS=64 all: hadori hadori.1: hadori - help2man -n $< -o $@ -N --no-discard-stderr --version-string 0.1 ./$< + help2man -n $< -o $@ -N --version-string 0.1 ./$< hadori: hadori.o hadori.o: hadori.C inode.h @@ -206,9 +206,9 @@ int main (int const argc, char ** argv) { po::notify(config); if (config.count("help")) { - error << "Invocation: hadori [ OPTIONS ] [ ARGUMENTS ]" << std::endl; - error << opts << std::endl; - return EX_USAGE; + std::cout << "Invocation: hadori [ OPTIONS ] [ ARGUMENTS ]" << std::endl; + std::cout << opts << std::endl; + return EX_OK; } if (not config.count("debug")) |