[thin_dump] --skip-mappings

This commit is contained in:
Joe Thornber
2016-03-22 15:01:37 +00:00
parent ad4fd30a27
commit 4370f048c0
4 changed files with 14 additions and 3 deletions

View File

@@ -128,6 +128,7 @@ thin_dump_cmd::run(int argc, char **argv)
{ "format", required_argument, NULL, 'f' },
{ "repair", no_argument, NULL, 'r'},
{ "dev-id", required_argument, NULL, 1 },
{ "skip-mappings", no_argument, NULL, 2 },
{ "version", no_argument, NULL, 'V'},
{ NULL, no_argument, NULL, 0 }
};
@@ -175,6 +176,10 @@ thin_dump_cmd::run(int argc, char **argv)
flags.opts.select_dev(dev_id);
break;
case 2:
flags.opts.skip_mappings_ = true;
break;
case 'V':
cout << THIN_PROVISIONING_TOOLS_VERSION << endl;
return 0;