diff --git a/path-convert/src/main.rs b/path-convert/src/main.rs index a368f27..6be1133 100644 --- a/path-convert/src/main.rs +++ b/path-convert/src/main.rs @@ -10,7 +10,7 @@ const DISTRO: &str = "WSL_DISTRO_NAME"; // - FLAGS - const HELP: [&str;2] = [ "-h", "--help" ]; -const NET_PATH: [&str;2] = [ "-n", "--network-path" ]; +const NET_PATH: [&str;2] = [ "-n", "--network" ]; const NO_SPACES: [&str;2] = [ "-s", "--no-space" ]; const QUOTED: [&str;2] = [ "-q", "--quotes" ]; @@ -112,12 +112,13 @@ Canonicalize and convert Unix paths for DOS programs. usage: path-convert [flags] args: - one or more paths to convert + One or more paths to convert flags: - -h, --help show this help text - -q, --quotes surround the output strings with quotes (-qq for double quotes) - -s, --no-space don't allow paths to have spaces + -h, --help Show this help text + -n, --network Add the network path where appropriate + -q, --quotes Surround the output strings with quotes (-qq for double quotes) + -s, --no-space Don't allow paths to have spaces ", env!("CARGO_PKG_VERSION")); }