mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
Fix target options
This commit is contained in:
parent
6892dcbcc0
commit
5f7dd4b4b2
@ -196,7 +196,7 @@ int cmd_format(int argc, char *argv[])
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
case '?':
|
||||
die("unrecognized option %s", optarg);
|
||||
exit(EXIT_FAILURE);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -15,13 +15,13 @@
|
||||
struct bch_opt_strs {
|
||||
union {
|
||||
char *by_id[bch2_opts_nr];
|
||||
};
|
||||
struct {
|
||||
#define x(_name, ...) char *_name;
|
||||
BCH_OPTS()
|
||||
#undef x
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
struct bch_opt_strs bch2_cmdline_opts_get(int *, char *[], unsigned);
|
||||
struct bch_opts bch2_parse_opts(struct bch_opt_strs);
|
||||
|
Loading…
Reference in New Issue
Block a user