mkwin: improved help text formatting

This commit is contained in:
Valerie Wolfe 2024-06-11 11:43:57 -04:00
parent 1ddf8439f5
commit 9bc9ba71ec

View file

@ -100,12 +100,13 @@ pub fn main() {
pub fn help_text() { pub fn help_text() {
println!("mkwin v{} println!("mkwin v{}
Valerie Wolfe <sleeplessval@gmail.com> Valerie Wolfe <sleeplessval@gmail.com>
Quickly make bash scripts to run windows programs in WSL. Quickly make bash scripts to run Windows programs from WSL.
usage: mkwin [flags] <target> [-- args] usage: mkwin [flags] <target> [-- args]
args: args:
<target> The target program the resulting script will run. <target> The target program the resulting script will run.
[-- args] Arguments to forward to the target program. These are [-- args] Arguments to forward to the target program. These are
placed before any other arguments if present. placed before any other arguments if present.
@ -120,5 +121,6 @@ flags:
-q, --quiet The resulting script will run the target program in the -q, --quiet The resulting script will run the target program in the
background and with its outputs redirected to '/dev/null'.", background and with its outputs redirected to '/dev/null'.",
env!("CARGO_PKG_VERSION"));} env!("CARGO_PKG_VERSION"));
}