more usage() fixes

This commit is contained in:
Heinz Mauelshagen 2011-12-15 15:44:41 +01:00
parent ef66888326
commit fd39a5b37f
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ namespace {
}
void usage(string const &cmd) {
cerr << "Usage: " << cmd << " [options] {metadata device|file}" << endl << endl;
cerr << "Usage: " << cmd << " [options] {device|file}" << endl << endl;
cerr << "Options:" << endl;
cerr << " {-h|--help}" << endl;
cerr << " {-f|--format} {xml|human_readable}" << endl;

View File

@ -54,11 +54,11 @@ namespace {
}
void usage(string const &cmd) {
cerr << "Usage: " << cmd << " [options] [file]" << endl << endl;
cerr << "Usage: " << cmd << " [options]" << endl << endl;
cerr << "Options:" << endl;
cerr << " {-h|--help}" << endl;
cerr << " {-i|--input}" << endl;
cerr << " {-o [ --output} output_file" << endl;
cerr << " {-i|--input} input_file" << endl;
cerr << " {-o [ --output} {device|file}" << endl;
cerr << " {-V|--version}" << endl;
}
}