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:
commit
e5363621ba
@ -371,7 +371,7 @@ thin_ll_dump_cmd::usage(ostream &out) const {
|
|||||||
int
|
int
|
||||||
thin_ll_dump_cmd::run(int argc, char **argv)
|
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[] = {
|
const struct option longopts[] = {
|
||||||
{ "help", no_argument, NULL, 'h'},
|
{ "help", no_argument, NULL, 'h'},
|
||||||
{ "metadata-snap", optional_argument, NULL, 'm'},
|
{ "metadata-snap", optional_argument, NULL, 'm'},
|
||||||
|
Loading…
Reference in New Issue
Block a user