opt!(where"Using the `-*x` / `--*-spec` family of arguments, the options for explicit dispatch are described here\nThe options are provided in the form `<opt>=<value>:<opt2>=<value2>...`. `value` can be optional depending on the option.\nThe opt-value pairs are described below. Some can be specified multiple times if said so."),
opt!(where"Using the `-*x` / `--*-spec` family of arguments, the options for explicit dispatch are described here\nThe options are provided in the form `<opt>=<value>:<opt2>=<value2>...`. `value`\nThe opt-value pairs are described below. Some can be specified multiple times if said so."),
opt!("p"=>"program";"Specify the process name or path"),
opt!("a"=>"args";"Arguments for the process, comma seperated. Multiple of these options can be used to append arguments one by one"),
opt!(),
opt!("Shell execute"),
opt!(where"For shell execution only"),
opt!("sh"=>"shell location";"Specify the shell to use for execution."),
opt!("ex"=>"expression";"The shell expression to use for execution"),
opt!(),
opt!("Stdin / trailing execution"),
opt!(where"For options that consume the rest of arguments or parent's stdin, a trailing option must be specified which determines which option the trailing arguments are to specify.\nEach argument is substituted for the trailing option, producing individual tasks with that option changed.\nThe format of trailing options is `:<opt>` at the end of the argument, with no value.")
]
}
fndetaching()-> implIterator<Item=Opt>
{
iter![
opt!(in"DETACHING"),
opt!(where"The behaviour of processes with the `detach` option set (or global `--detach` flag) is different than that of normal child processes.\nThe following flags / explicit options do not work"),
opt!("--completion",":c";"Cannot wait on a detached process"),
opt!("--timeout",":timeout";"Cannot wait on a detached process"),
opt!(),
opt!("--stdin","--stdout","--stderr",":stdin",":stdout",":stderr";"I/O redirection directives `inherit` and `ignore` do not work on detached processes. If `ignore` (default) is specified, the stream is closed instead."),