From d5ee6f8700c7225a4ce34f6d92aae0d57bee3355 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 21 Jul 2003 21:31:03 +0000 Subject: [PATCH] * In `--query --generators', print out paths, not ids. (There should really be a switch for this). --- src/nix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix.cc b/src/nix.cc index de60c28c5..f8e019eb4 100644 --- a/src/nix.cc +++ b/src/nix.cc @@ -155,7 +155,7 @@ static void opQuery(Strings opFlags, Strings opArgs) for (FSIds::iterator i = genIds.begin(); i != genIds.end(); i++) - cout << format("%s\n") % (string) *i; + cout << format("%s\n") % expandId(*i); break; }