We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63dcc1e commit e22f0e2Copy full SHA for e22f0e2
squashfs-tools/mksquashfs.c
@@ -7429,9 +7429,12 @@ int main(int argc, char *argv[])
7429
}
7430
7431
if(i < 3) {
7432
- if(i == 1)
7433
- mksquashfs_help("mksquashfs: fatal error: no source or output filesystem specified on command line\n\n");
7434
- else
+ if(i == 1) {
+ if(argc == 1)
+ mksquashfs_help("mksquashfs: fatal error: no source or output filesystem specified on command line\n\n");
7435
+ else
7436
+ mksquashfs_help("mksquashfs: fatal error: options (e.g. -comp) should be specified after source and output filesystem\n\n");
7437
+ } else
7438
mksquashfs_help("mksquashfs: fatal error: no output filesystem specified on command line\n\n");
7439
7440
0 commit comments