1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 11:43:15 +02:00

Use pager for more commands

This commit is contained in:
Eelco Dolstra 2014-08-20 21:26:37 +02:00
parent 9481f77693
commit 43579c9799
2 changed files with 8 additions and 1 deletions

View file

@ -299,6 +299,8 @@ static void opQuery(Strings opFlags, Strings opArgs)
else if (*i == "--include-outputs") includeOutputs = true;
else throw UsageError(format("unknown flag %1%") % *i);
RunPager pager;
switch (query) {
case qOutputs: {