aboutsummaryrefslogtreecommitdiff
path: root/src/nix/main.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-15 18:55:03 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-15 18:55:03 +0000
commitfccef6a7fa713370c0df348f4fe82a2919bf0a33 (patch)
tree1ea93e85d766e980fdf0db333f45e5bbbd95ef14 /src/nix/main.cc
parentf6ed1a96b397f0345af029127cfde86bcd0247d2 (diff)
parent11882d7c7ce3b6dc51dd7c0536f9662dc254ac0a (diff)
Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-builds
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r--src/nix/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index 1e9e07bc0..5056ceb78 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -208,7 +208,7 @@ void mainWrapped(int argc, char * * argv)
if (completions) {
std::cout << (pathCompletions ? "filenames\n" : "no-filenames\n");
for (auto & s : *completions)
- std::cout << s << "\n";
+ std::cout << s.completion << "\t" << s.description << "\n";
}
});