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:
parent
9481f77693
commit
43579c9799
2 changed files with 8 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue