From 7a4a5aa87ef83cee6d681494277d915dd587bfec Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 20 Jan 2016 13:25:09 +0000 Subject: [PATCH] [thin_ls] fluff --- thin-provisioning/thin_ls.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/thin-provisioning/thin_ls.cc b/thin-provisioning/thin_ls.cc index 4e354b3..1160921 100644 --- a/thin-provisioning/thin_ls.cc +++ b/thin-provisioning/thin_ls.cc @@ -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,9 +423,8 @@ thin_ls_cmd::usage(std::ostream &out) const << " {-V|--version}\n\n" << "where is a comma separated list from:\n"; - for (unsigned i = 0; i <= static_cast(SNAPSHOT_TIME); i++) { + for (unsigned i = 0; i <= static_cast(SNAPSHOT_TIME); i++) out << " " << field_to_string(static_cast(i)) << "\n"; - } } vector parse_fields(string const &str)