Fixes fall-through to report correct description of hash-file command.

This commit is contained in:
Kevin Quick 2020-09-24 12:30:03 -07:00
parent 8d9402f411
commit bd5f3dbe11
No known key found for this signature in database
GPG key ID: E6D7733599CC0A21

View file

@ -44,6 +44,7 @@ struct CmdHash : Command
switch (mode) { switch (mode) {
case FileIngestionMethod::Flat: case FileIngestionMethod::Flat:
d = "print cryptographic hash of a regular file"; d = "print cryptographic hash of a regular file";
break;
case FileIngestionMethod::Recursive: case FileIngestionMethod::Recursive:
d = "print cryptographic hash of the NAR serialisation of a path"; d = "print cryptographic hash of the NAR serialisation of a path";
}; };