static const char size_unit_abbrevs[] = " BKMGT";
static const char count_unit_abbrevs[] = " kmgt";
-struct select_args_info select_conf;
static struct uid_range *admissible_uids;
static enum enum_size_unit format_size_value(enum enum_size_unit unit,
int com_select(void)
{
int ret;
- struct select_cmdline_parser_params params = {
- .override = 1,
- .initialize = 1,
- .check_required = 1,
- .check_ambiguity = 1,
- .print_errors = 1
- };
-
if (conf.select_options_given) {
+ struct select_cmdline_parser_params params = {
+ .override = 1,
+ .initialize = 1,
+ .check_required = 1,
+ .check_ambiguity = 1,
+ .print_errors = 1
+ };
+
if (select_cmdline_parser_string_ext(conf.select_options_arg,
&select_conf, "select", ¶ms))
return -E_SYNTAX;