forked from lix-project/lix
nix search: Warn about cached results
This commit is contained in:
parent
c8235c5313
commit
9b82ecbae0
|
@ -185,6 +185,8 @@ struct CmdSearch : SourceExprCommand, MixJSON
|
|||
|
||||
if (useCache && pathExists(jsonCacheFileName)) {
|
||||
|
||||
warn("using cached results; pass '-u' to update the cache");
|
||||
|
||||
Value vRoot;
|
||||
parseJSON(*state, readFile(jsonCacheFileName), vRoot);
|
||||
|
||||
|
|
Loading…
Reference in a new issue