Commit 70f9277e authored by Mathieu Valois's avatar Mathieu Valois
Browse files

add description in help message for stdin

parent f5d4a194
Loading
Loading
Loading
Loading
+2 −1
Changes for Statsgen/src/main.cpp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -36,9 +36,10 @@ static struct option long_options[] = {

void showHelp() {
	static const char* USAGE[] = {
		"Usage: stats database.txt [OPTIONS]",
		"Usage: stats FILENAME [OPTIONS]",
		"To be sure the database's format can be read, please use this command before:",
		"	iconv -f ISO-8859-1 -t UTF-8 databaseInput.txt -o databaseOutput.txt",
		"Use '-' for FILENAME to read from stdin",
		"Options:",
		"	--help, -h          Show this help message",
		"	--withcount, -w     Mendatory if the input database has the following format : [number of occurence] [password]",