elliot40404 / bonk

The blazingly fast touch alternative with a sprinkle of mkdir written in rust.
MIT License
97 stars 9 forks source link

Should use std::env::args_os() #2

Closed BartMassey closed 1 year ago

BartMassey commented 1 year ago

Use std::env::args_os() and immediately convert to PathBuf for non-standard strings.

elliot40404 commented 1 year ago

updated in new release

BartMassey commented 1 year ago

Note that this will still panic while checking for "--help" when the first argument is not UTF-8.