forked from mirrors/jj
(Minor fix) Don't request pager for config edit
, only config list
This commit is contained in:
parent
8ee919dcbb
commit
14982d750e
1 changed files with 1 additions and 1 deletions
|
@ -1028,13 +1028,13 @@ fn cmd_config(
|
||||||
command: &CommandHelper,
|
command: &CommandHelper,
|
||||||
subcommand: &ConfigSubcommand,
|
subcommand: &ConfigSubcommand,
|
||||||
) -> Result<(), CommandError> {
|
) -> Result<(), CommandError> {
|
||||||
ui.request_pager();
|
|
||||||
let settings = command.settings();
|
let settings = command.settings();
|
||||||
match subcommand {
|
match subcommand {
|
||||||
ConfigSubcommand::List {
|
ConfigSubcommand::List {
|
||||||
name,
|
name,
|
||||||
include_defaults,
|
include_defaults,
|
||||||
} => {
|
} => {
|
||||||
|
ui.request_pager();
|
||||||
let name_path = name
|
let name_path = name
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map_or(vec![], |name| name.split('.').collect_vec());
|
.map_or(vec![], |name| name.split('.').collect_vec());
|
||||||
|
|
Loading…
Reference in a new issue