[thin_ls] fluff

This commit is contained in:
Joe Thornber 2016-01-20 13:25:09 +00:00
parent d858a43f07
commit 7a4a5aa87e

View File

@ -414,7 +414,7 @@ thin_ls_cmd::thin_ls_cmd()
void
thin_ls_cmd::usage(std::ostream &out) const
{
out << "Usage: " << get_name() << " [options] {device|file}\n"
out << "Usage: " << get_name() << " [options] {metadata device}\n"
<< "Options:\n"
<< " {-h|--help}\n"
<< " {-m|--metadata-snap}\n"
@ -423,10 +423,9 @@ thin_ls_cmd::usage(std::ostream &out) const
<< " {-V|--version}\n\n"
<< "where <fields> is a comma separated list from:\n";
for (unsigned i = 0; i <= static_cast<unsigned>(SNAPSHOT_TIME); i++) {
for (unsigned i = 0; i <= static_cast<unsigned>(SNAPSHOT_TIME); i++)
out << " " << field_to_string(static_cast<output_field>(i)) << "\n";
}
}
vector<output_field> parse_fields(string const &str)
{