mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 20:46:01 +01:00
Fix assertion failure in tab completion for --option
This commit is contained in:
parent
ff4dea63c9
commit
7f56cf67ba
2 changed files with 5 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ MixCommonArgs::MixCommonArgs(const string & programName)
|
|||
globalConfig.getSettings(settings);
|
||||
for (auto & s : settings)
|
||||
if (hasPrefix(s.first, prefix))
|
||||
completions->add(s.first, s.second.description);
|
||||
completions->add(s.first, fmt("Set the `%s` setting.", s.first));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue