diff options
author | Kevin Quick <kquick@galois.com> | 2020-09-24 12:30:03 -0700 |
---|---|---|
committer | Kevin Quick <kquick@galois.com> | 2020-09-24 12:30:03 -0700 |
commit | bd5f3dbe118d569ffb201ce14394572ac5fc412c (patch) | |
tree | af614ef976381b59611f718f84c313e903dcdb6a /src/nix/hash.cc | |
parent | 8d9402f411643c451cf2a0776afcb3a1af0f9a8c (diff) |
Fixes fall-through to report correct description of hash-file command.
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r-- | src/nix/hash.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc index 0eca4f8ea..494f00a20 100644 --- a/src/nix/hash.cc +++ b/src/nix/hash.cc @@ -44,6 +44,7 @@ struct CmdHash : Command switch (mode) { case FileIngestionMethod::Flat: d = "print cryptographic hash of a regular file"; + break; case FileIngestionMethod::Recursive: d = "print cryptographic hash of the NAR serialisation of a path"; }; |