From b8b2dbf27204bc6ce5f57fa5fc5c76f9265fcee1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 May 2020 11:53:32 +0200 Subject: [PATCH] Fix InstallableCommand --- src/nix/installables.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 2d23b33b7..5385484df 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -689,6 +689,7 @@ InstallableCommand::InstallableCommand() { expectArgs({ .label = "installable", + .optional = true, .handler = {&_installable}, .completer = {[&](size_t, std::string_view prefix) { completeInstallable(prefix);