[thin_delta] Update the usage

This commit is contained in:
Joe Thornber 2014-06-17 15:00:38 +01:00
parent bb57104542
commit c8f408ac3c
2 changed files with 6 additions and 3 deletions

View File

@ -14,6 +14,7 @@ Feature: thin_delta
"""
Usage: thin_delta [options] --snap1 <snap> --snap2 <snap> <device or file>
Options:
{--verbose}
{-h|--help}
{-V|--version}
"""
@ -24,6 +25,7 @@ Feature: thin_delta
"""
Usage: thin_delta [options] --snap1 <snap> --snap2 <snap> <device or file>
Options:
{--verbose}
{-h|--help}
{-V|--version}
"""

View File

@ -26,9 +26,10 @@ namespace {
}
void usage(ostream &out) {
out << "Usage: " << cmd_ << " [options] --snap1 <snap> --snap2 <snap> <device or file>" << endl
<< "Options:" << endl
<< " {-h|--help}" << endl
out << "Usage: " << cmd_ << " [options] --snap1 <snap> --snap2 <snap> <device or file>\n"
<< "Options:\n"
<< " {--verbose}\n"
<< " {-h|--help}\n"
<< " {-V|--version}" << endl;
}