[era_restore] tweak help message

This commit is contained in:
Joe Thornber 2014-08-12 10:20:29 +01:00
parent 75a797253e
commit 157eca4dd0

View File

@ -13,7 +13,7 @@
#include <string> #include <string>
using namespace boost; using namespace boost;
using namespace caching; using namespace era;
using namespace persistent_data; using namespace persistent_data;
using namespace std; using namespace std;
@ -29,7 +29,7 @@ namespace {
try { try {
block_manager<>::ptr bm = open_bm(*fs.output, block_manager<>::READ_WRITE); block_manager<>::ptr bm = open_bm(*fs.output, block_manager<>::READ_WRITE);
metadata::ptr md(new metadata(bm, metadata::CREATE)); metadata::ptr md(new metadata(bm, metadata::CREATE));
emitter::ptr restorer = create_restore_emitter(md); emitter::ptr restorer = create_restore_emitter(*md);
check_file_exists(*fs.input); check_file_exists(*fs.input);
ifstream in(fs.input->c_str(), ifstream::in); ifstream in(fs.input->c_str(), ifstream::in);
@ -49,8 +49,7 @@ namespace {
<< " {-h|--help}" << endl << " {-h|--help}" << endl
<< " {-i|--input} <input xml file>" << endl << " {-i|--input} <input xml file>" << endl
<< " {-o|--output} <output device or file>" << endl << " {-o|--output} <output device or file>" << endl
<< " {-V|--version}" << endl << " {-V|--version}" << endl;
<< endl;
} }
} }