diff options
Diffstat (limited to 'builtin-config.c')
-rw-r--r-- | builtin-config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-config.c b/builtin-config.c index a81bc8bbf..60915f91c 100644 --- a/builtin-config.c +++ b/builtin-config.c @@ -316,7 +316,8 @@ int cmd_config(int argc, const char **argv, const char *unused_prefix) config_exclusive_filename = getenv(CONFIG_ENVIRONMENT); - argc = parse_options(argc, argv, builtin_config_options, builtin_config_usage, + argc = parse_options(argc, argv, prefix, builtin_config_options, + builtin_config_usage, PARSE_OPT_STOP_AT_NON_OPTION); if (use_global_config + use_system_config + !!given_config_file > 1) { |