Enhanced help message.

This commit is contained in:
tastytea 2019-05-13 02:32:27 +02:00
parent fbf3f484eb
commit 6c7a4d6685
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 2 deletions

View File

@ -72,7 +72,9 @@ const options parse_options(const int argc, const char *argv[])
if (option_help->is_set())
{
cout << "Usage: " << argv[0] << " [-t tags] URL\n";
cout << "Usage: " << argv[0] << " [-t tags] URL\n"
<< " " << argv[0]
<< " -e format [-f file] [-s start,end]\n";
cout << op;
return options(0);
}
@ -134,7 +136,7 @@ const options parse_options(const int argc, const char *argv[])
else
{
cerr << "Error: Time span must be in format: "
"YYYY-MM-DD,YYYY-MM-DD\n";
"YYYY-MM-DD,YYYY-MM-DD.\n";
return options(1);
}
}