diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-20 17:29:23 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-20 17:29:23 +0000 |
commit | eab945f5910748597f7b2d02c93117fece788c50 (patch) | |
tree | 7609e69bbafc25845882474e0297097075089c73 /src/nix/hash.cc | |
parent | 3dcca18c30cbc09652f5ac644a9f8750f9ced0c9 (diff) | |
parent | 1c5f8bbfb5a5d55398823bb5d8a576a864cd1828 (diff) |
Merge remote-tracking branch 'upstream/master' into from-dump-stream
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 b97c6d21f..b94751e45 100644 --- a/src/nix/hash.cc +++ b/src/nix/hash.cc @@ -31,7 +31,11 @@ struct CmdHash : Command .labels({"modulus"}) .dest(&modulus); #endif - expectArgs("paths", &paths); + expectArgs({ + .label = "paths", + .handler = {&paths}, + .completer = completePath + }); } std::string description() override |