mkwin: improved help text formatting
This commit is contained in:
parent
1ddf8439f5
commit
9bc9ba71ec
1 changed files with 4 additions and 2 deletions
|
@ -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"));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue