aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Quick <kquick@galois.com>2020-09-24 12:30:03 -0700
committerKevin Quick <kquick@galois.com>2020-09-24 12:30:03 -0700
commitbd5f3dbe118d569ffb201ce14394572ac5fc412c (patch)
treeaf614ef976381b59611f718f84c313e903dcdb6a /src
parent8d9402f411643c451cf2a0776afcb3a1af0f9a8c (diff)
Fixes fall-through to report correct description of hash-file command.
Diffstat (limited to 'src')
-rw-r--r--src/nix/hash.cc1
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";
};