aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r--sim/arm/wrapper.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index 945070a..4af3f99 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -772,9 +772,12 @@ sim_target_parse_arg_array (argv)
}
void
-sim_target_display_usage ()
+sim_target_display_usage (help)
+ int help;
{
- fprintf (stderr, "%s=<list> Comma seperated list of SWI protocols to supoport.\n\
+ FILE *stream = help ? stdout : stderr;
+
+ fprintf (stream, "%s=<list> Comma seperated list of SWI protocols to supoport.\n\
This list can contain: NONE, DEMON, ANGEL, REDBOOT and/or ALL.\n",
SWI_SWITCH);
}