1
1
Fork 0
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:
Eelco Dolstra 2020-10-29 18:26:35 +01:00
parent ff4dea63c9
commit 7f56cf67ba
2 changed files with 5 additions and 5 deletions

View file

@ -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));
}
}
});