view: add -V to usage() #1266

This commit is contained in:
nick black 2021-01-16 23:22:35 -05:00
parent 60cce801b5
commit 8077fc47f3
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -20,6 +20,7 @@ static void usage(std::ostream& os, const char* name, int exitcode)
void usage(std::ostream& o, const char* name, int exitcode){
o << "usage: " << name << " [ -h ] [ -q ] [ -m margins ] [ -l loglevel ] [ -d mult ] [ -s scaletype ] [ -k ] [ -L ] [ -t seconds ] files" << '\n';
o << " -h: display help and exit with success\n";
o << " -V: print program name and version\n";
o << " -q: be quiet (no frame/timing information along top of screen)\n";
o << " -k: don't use the alternate screen\n";
o << " -L: loop frames\n";