mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-11 13:30:47 -04:00
Enable --with-devices and --with-specials when using --input-list
This commit is contained in:
parent
43e5a3bcdc
commit
2f65559407
@ -37,6 +37,7 @@ There two mandatory options for specifying the input and output:
|
||||
current directory. If you want files to be stored in the exact same order
|
||||
as read from this list (because, for example, you have already sorted them
|
||||
by similarity or access frequency), you must also pass `--order=none`.
|
||||
This option implicitly enables both `--with-devices` and `--with-specials`.
|
||||
|
||||
- `-o`, `--output=`*file*:
|
||||
File name of the output filesystem.
|
||||
|
@ -654,6 +654,10 @@ int mkdwarfs(int argc, char** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// implicitly turn on
|
||||
options.with_devices = true;
|
||||
options.with_specials = true;
|
||||
|
||||
if (!vm.count("input")) {
|
||||
path = std::filesystem::current_path().string();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user