On Tue, 18 Jun 2019, Kurt Kanzenbach wrote: > The current usage doesn't show the available options: > > $ sudo ./cyclicdeadline -h > usage: cyclicdeadline > > So, add the options to the help text to see what can be configured. > > Signed-off-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx> > --- > src/sched_deadline/cyclicdeadline.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c > index 17786db45612..7cffe826b944 100644 > --- a/src/sched_deadline/cyclicdeadline.c > +++ b/src/sched_deadline/cyclicdeadline.c > @@ -631,8 +631,16 @@ static void usage(char **argv) > p--; > p++; > > - printf("usage: %s\n" > - "\n",p); > + printf("usage: %s [options]\n" > + " -h - Show this help menu\n" > + " -a - Use all CPUs\n" > + " -c cpulist - Comma/hyphen separated list of CPUs to run deadline tasks on\n" > + " -i interval(us) - The shortest deadline for the tasks (default 1000us)\n" > + " -s step(us) - The amount to increase the deadline for each task (default 500us)\n" > + " -t threads - The number of threads to run as deadline (default 1)\n" > + " -D time - Specify a length for the test run\n" > + " Append 'm', 'h', or 'd' to specify minutes, hours or days\n" > + "\n", p); > exit(-1); > } > > -- > 2.11.0 > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>