Merge pull request #51 from mingnus/v0.6.2-repairtool

[thin_ll_dump] Fix option -m to accept optional argument
This commit is contained in:
Joe Thornber 2016-03-20 14:36:10 +00:00
commit e5363621ba

View File

@ -371,7 +371,7 @@ thin_ll_dump_cmd::usage(ostream &out) const {
int
thin_ll_dump_cmd::run(int argc, char **argv)
{
const char shortopts[] = "hm:o:V";
const char shortopts[] = "hm::o:V";
const struct option longopts[] = {
{ "help", no_argument, NULL, 'h'},
{ "metadata-snap", optional_argument, NULL, 'm'},