[PR Feedback] Add Windows options more consistently
@@ -788,13 +788,13 @@ fn sub_pkg_build() -> App<'static, 'static> {
}
if cfg!(windows) {
- sub.arg(Arg::with_name("WINDOWS").help("Use a local Windows Studio instead of a Docker \
- Studio")
+ sub = sub.arg(Arg::with_name("WINDOWS").help("Use a local Windows Studio instead of a \
+ Docker Studio")
.short("w")
- .long("windows"))
- } else {
- sub
+ .long("windows"));
}
+
+ sub
}
fn sub_pkg_install() -> App<'static, 'static> {
