mirror of
https://github.com/NixOS/nix.git
synced 2024-11-28 17:52:25 +00:00
Fix InstallableCommand
This commit is contained in:
parent
437614b479
commit
b8b2dbf272
@ -689,6 +689,7 @@ InstallableCommand::InstallableCommand()
|
|||||||
{
|
{
|
||||||
expectArgs({
|
expectArgs({
|
||||||
.label = "installable",
|
.label = "installable",
|
||||||
|
.optional = true,
|
||||||
.handler = {&_installable},
|
.handler = {&_installable},
|
||||||
.completer = {[&](size_t, std::string_view prefix) {
|
.completer = {[&](size_t, std::string_view prefix) {
|
||||||
completeInstallable(prefix);
|
completeInstallable(prefix);
|
||||||
|
Loading…
Reference in New Issue
Block a user