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/hash.cc | |
parent | 0884f180f5ca8a864e6db5256eaa10646e87d671 (diff) |
Cleanup
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r-- | src/nix/hash.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc index 0f460c668..d5636eb47 100644 --- a/src/nix/hash.cc +++ b/src/nix/hash.cc @@ -31,7 +31,11 @@ struct CmdHash : Command .labels({"modulus"}) .dest(&modulus); #endif - expectPathArgs("paths", &paths); + expectArgs({ + .label = "paths", + .handler = {&paths}, + .completer = completePath + }); } std::string description() override |