Document missing support for non-utf8 paths

This commit is contained in:
Kamil Koczurek
2024-09-14 22:41:58 +02:00
parent 7005f5ee65
commit 873062c1c2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ fn main() -> Result<()> {
.required(false)
.help("Set the upper limit for how large the image can become (default 64 MiB)."),
)
// TODO: support non-utf8 paths (applies to other paths as well)
.arg(
Arg::new("SOURCE")
.required(true)
+1
View File
@@ -17,6 +17,7 @@ fn main() -> Result<()> {
)
.get_matches();
// TODO: support non-utf8 paths
let source = matches
.get_one::<String>("IMAGE")
.expect("expected the required arg IMAGE to exist");