From c8f408ac3c25d286a32537af87f2b6f24ea5e473 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 17 Jun 2014 15:00:38 +0100 Subject: [PATCH] [thin_delta] Update the usage --- features/thin_delta.feature | 2 ++ thin-provisioning/thin_delta.cc | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/features/thin_delta.feature b/features/thin_delta.feature index 4bab632..8658b9e 100644 --- a/features/thin_delta.feature +++ b/features/thin_delta.feature @@ -14,6 +14,7 @@ Feature: thin_delta """ Usage: thin_delta [options] --snap1 --snap2 Options: + {--verbose} {-h|--help} {-V|--version} """ @@ -24,6 +25,7 @@ Feature: thin_delta """ Usage: thin_delta [options] --snap1 --snap2 Options: + {--verbose} {-h|--help} {-V|--version} """ diff --git a/thin-provisioning/thin_delta.cc b/thin-provisioning/thin_delta.cc index 186a38c..7cd96f8 100644 --- a/thin-provisioning/thin_delta.cc +++ b/thin-provisioning/thin_delta.cc @@ -26,9 +26,10 @@ namespace { } void usage(ostream &out) { - out << "Usage: " << cmd_ << " [options] --snap1 --snap2 " << endl - << "Options:" << endl - << " {-h|--help}" << endl + out << "Usage: " << cmd_ << " [options] --snap1 --snap2 \n" + << "Options:\n" + << " {--verbose}\n" + << " {-h|--help}\n" << " {-V|--version}" << endl; }