@@ -1200,7 +1200,7 @@ def _add_server_args(sub: argparse.ArgumentParser) -> None:
12001200 parser_devices .set_defaults (func = devices_command )
12011201
12021202 parser_run = subparsers .add_parser ("run" , help = "Build, install, and launch on a device/simulator" )
1203- parser_run .add_argument ("platform" , choices = ["android" , "ios" ])
1203+ parser_run .add_argument ("platform" , choices = ["android" , "ios" ], help = "Target platform" )
12041204 parser_run .add_argument (
12051205 "--device" ,
12061206 "-d" ,
@@ -1227,7 +1227,7 @@ def _add_server_args(sub: argparse.ArgumentParser) -> None:
12271227 parser_run .set_defaults (func = run_project )
12281228
12291229 parser_logs = subparsers .add_parser ("logs" , help = "Stream logs from the running app" )
1230- parser_logs .add_argument ("platform" , choices = ["android" , "ios" ])
1230+ parser_logs .add_argument ("platform" , choices = ["android" , "ios" ], help = "Target platform" )
12311231 parser_logs .add_argument (
12321232 "--device" ,
12331233 "-d" ,
@@ -1237,7 +1237,7 @@ def _add_server_args(sub: argparse.ArgumentParser) -> None:
12371237 parser_logs .set_defaults (func = logs_command )
12381238
12391239 parser_build = subparsers .add_parser ("build" , help = "Build distributable artifacts" )
1240- parser_build .add_argument ("platform" , choices = ["android" , "ios" ])
1240+ parser_build .add_argument ("platform" , choices = ["android" , "ios" ], help = "Target platform" )
12411241 parser_build .add_argument ("--debug" , action = "store_true" , help = "Build the debug variant instead of release" )
12421242 parser_build .add_argument (
12431243 "--upload" ,
@@ -1247,7 +1247,7 @@ def _add_server_args(sub: argparse.ArgumentParser) -> None:
12471247 parser_build .set_defaults (func = build_project )
12481248
12491249 parser_app_id = subparsers .add_parser ("app-id" , help = "Print the resolved application/bundle id" )
1250- parser_app_id .add_argument ("platform" , choices = ["android" , "ios" ])
1250+ parser_app_id .add_argument ("platform" , choices = ["android" , "ios" ], help = "Target platform" )
12511251 parser_app_id .set_defaults (func = app_id_command )
12521252
12531253 parser_clean = subparsers .add_parser ("clean" , help = "Remove the local build/ directory" )
0 commit comments