darlinghq / darling-dmg

FUSE module for .dmg files (containing an HFS+ filesystem)
http://www.darlinghq.org
GNU General Public License v3.0
273 stars 45 forks source link

Passing file that doesn't exist should print more helpful error message #95

Open Luflosi opened 4 years ago

Luflosi commented 4 years ago

Executing

darling-dmg test-file test-dir

when test-file does not exist prints

Error: test-file

Possible reasons:
1) The file is corrupt.
2) The file is not really a DMG file, although it resembles one.
3) There is a bug in darling-dmg.

I would expect a more helpful error message such as "File not found" or similar.