about summary refs log tree commit diff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T19·26+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T19·44+0200
commit43579c9799e93120620481b72785f382f9c264d9 (patch)
tree468a9d9dee86088c2a874728c9dad7da56dd4002 /src/nix-store/nix-store.cc
parent9481f7769390b934fba92441be32b39287cc93d7 (diff)
Use pager for more commands
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 24ecf84142b0..8c3744824ce6 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -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: {