Document missing support for non-utf8 paths
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user