diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-05-11 15:46:18 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-05-11 15:57:45 +0200 |
commit | 4c3c638a05e52cdc3bd96255873b711a28630288 (patch) | |
tree | 627e46d9835ef9ba3be2c49dd27b9543d750f97f /src/nix/repl.cc | |
parent | 0884f180f5ca8a864e6db5256eaa10646e87d671 (diff) |
Cleanup
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r-- | src/nix/repl.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index 2e7b14d08..c936f9cc2 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -767,7 +767,11 @@ struct CmdRepl : StoreCommand, MixEvalArgs CmdRepl() { - expectPathArgs("files", &files); + expectArgs({ + .label = "files", + .handler = {&files}, + .completer = completePath + }); } std::string description() override |