more usage() fixes
This commit is contained in:
parent
ef66888326
commit
fd39a5b37f
@ -50,7 +50,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void usage(string const &cmd) {
|
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 << "Options:" << endl;
|
||||||
cerr << " {-h|--help}" << endl;
|
cerr << " {-h|--help}" << endl;
|
||||||
cerr << " {-f|--format} {xml|human_readable}" << endl;
|
cerr << " {-f|--format} {xml|human_readable}" << endl;
|
||||||
|
@ -54,11 +54,11 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void usage(string const &cmd) {
|
void usage(string const &cmd) {
|
||||||
cerr << "Usage: " << cmd << " [options] [file]" << endl << endl;
|
cerr << "Usage: " << cmd << " [options]" << endl << endl;
|
||||||
cerr << "Options:" << endl;
|
cerr << "Options:" << endl;
|
||||||
cerr << " {-h|--help}" << endl;
|
cerr << " {-h|--help}" << endl;
|
||||||
cerr << " {-i|--input}" << endl;
|
cerr << " {-i|--input} input_file" << endl;
|
||||||
cerr << " {-o [ --output} output_file" << endl;
|
cerr << " {-o [ --output} {device|file}" << endl;
|
||||||
cerr << " {-V|--version}" << endl;
|
cerr << " {-V|--version}" << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user