Merge pull request #4063 from kquick/fix_hash-file_desc

Fixes fall-through to report correct description of hash-file command.
This commit is contained in:
Eelco Dolstra 2020-09-24 23:01:32 +02:00 committed by GitHub
commit 5a7fd38dbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";
}; };