From f2381aa53a0656c03f2dd8b9d753d2a84132aafb Mon Sep 17 00:00:00 2001 From: Andrea Bastoni Date: Tue, 2 Mar 2010 16:24:27 -0500 Subject: Update rt_launch usage --- bin/rt_launch.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/bin/rt_launch.c b/bin/rt_launch.c index 66cb21f..3863031 100644 --- a/bin/rt_launch.c +++ b/bin/rt_launch.c @@ -29,17 +29,14 @@ int launch(void *task_info_p) { } void usage(char *error) { - fprintf(stderr, "%s\nUsage: \nlaunch_rt supports one of two modes:\n" - "\n\tlaunch_rt program arg1 arg2 ...\n" - "\nwhere:" - "\n\t = " - "[-c {hrt|srt|be}] [-p ]\n" - "\nExamples:" - "\n\trt_launch -p 2 10 100 cpu_job" - "\n\t => Launch cpu_job a hard real-time task with " - "\n\t period 100ms and weight 0.1 on CPU 2.\n" - "\n\n", - error); + fprintf(stderr, "%s\nUsage: rt_launch [-w][-v][-p cpu][-c hrt | srt | be] wcet period program [arg1 arg2 ...]\n" + "\t-w\tSynchronous release\n" + "\t-v\tVerbose\n" + "\t-p\tcpu (or initial cpu)\n" + "\t-c\tClass\n" + "\twcet, period in ms\n" + "\tprogram to be launched\n", + error); exit(1); } -- cgit v1.2.2