diff --git a/c_src/cmd_option.c b/c_src/cmd_option.c index 1ae4e076..b40c2458 100644 --- a/c_src/cmd_option.c +++ b/c_src/cmd_option.c @@ -54,7 +54,7 @@ static int name_to_dev_idx(struct bch_fs *c, const char *dev) int cmd_set_option(int argc, char *argv[]) { - struct bch_opt_strs new_opt_strs = bch2_cmdline_opts_get(&argc, argv, OPT_MOUNT|OPT_DEVICE); + struct bch_opt_strs new_opt_strs = bch2_cmdline_opts_get(&argc, argv, OPT_FS|OPT_DEVICE); struct bch_opts new_opts = bch2_parse_opts(new_opt_strs); DARRAY(unsigned) dev_idxs = {}; int opt, ret = 0;