From fd39a5b37f8051122d89ea61da6f0b786f0bd0a4 Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Thu, 15 Dec 2011 15:44:41 +0100 Subject: [PATCH] more usage() fixes --- thin_dump.cc | 2 +- thin_restore.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/thin_dump.cc b/thin_dump.cc index c01ce62..c6a379b 100644 --- a/thin_dump.cc +++ b/thin_dump.cc @@ -50,7 +50,7 @@ namespace { } 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 << " {-h|--help}" << endl; cerr << " {-f|--format} {xml|human_readable}" << endl; diff --git a/thin_restore.cc b/thin_restore.cc index 041e4e7..90781b6 100644 --- a/thin_restore.cc +++ b/thin_restore.cc @@ -54,11 +54,11 @@ namespace { } void usage(string const &cmd) { - cerr << "Usage: " << cmd << " [options] [file]" << endl << endl; + cerr << "Usage: " << cmd << " [options]" << endl << endl; cerr << "Options:" << endl; cerr << " {-h|--help}" << endl; - cerr << " {-i|--input}" << endl; - cerr << " {-o [ --output} output_file" << endl; + cerr << " {-i|--input} input_file" << endl; + cerr << " {-o [ --output} {device|file}" << endl; cerr << " {-V|--version}" << endl; } }