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/run.cc | |
parent | 0884f180f5ca8a864e6db5256eaa10646e87d671 (diff) |
Cleanup
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r-- | src/nix/run.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc index 3701ffe3d..f9b1298f1 100644 --- a/src/nix/run.cc +++ b/src/nix/run.cc @@ -149,7 +149,11 @@ struct CmdRun : InstallableCommand, RunCommon CmdRun() { - expectPathArgs("args", &args); + expectArgs({ + .label = "args", + .handler = {&args}, + .completer = completePath + }); } std::string description() override |