Commit 527f619f authored by Federico Vaga's avatar Federico Vaga

sw:tools: fix help messages

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 6d2356aa
......@@ -22,7 +22,7 @@ static void help(char *name)
{
fprintf(stderr, "\n");
fprintf(stderr, "%s [options]\n\n", name);
fprintf(stderr, "It shows the Mock Turtle devices available on the system.\n\n");
fprintf(stderr, "Show the Mock Turtle devices available on the system.\n\n");
fprintf(stderr, "-v show more information\n");
fprintf(stderr, "-h show this help\n");
fprintf(stderr, "\n");
......
......@@ -27,7 +27,7 @@ static void help(char *name)
fprintf(stderr,
"%s -D 0x<hex-number> -i <number> -c <number> -q <number> [read <idx> <size> <idx> <size> ...] [write <idx> <size> <value> ... <value>]\n\n",
name);
fprintf(stderr, "It reads/writes variables on a HMQ\n\n");
fprintf(stderr, "Read/write buffers on a HMQ\n\n");
fprintf(stderr, "-D device identificator in hexadecimal format\n");
fprintf(stderr, "-c CPU core index\n");
fprintf(stderr, "-q HMQ index\n");
......
......@@ -16,7 +16,7 @@ static void help()
{
fprintf(stderr, "\n");
fprintf(stderr, "mockturtle-cpu-restart -D 0x<hex-number> -i <number> [options]\n\n");
fprintf(stderr, "It restarts a set of given CPUs");
fprintf(stderr, "Restart a set of given CPUs\n");
fprintf(stderr, "-D device identificator in hexadecimal format\n");
fprintf(stderr, "-i cpu index\n");
fprintf(stderr, "-h show this help\n");
......
......@@ -17,7 +17,7 @@ static void help()
{
fprintf(stderr, "\n");
fprintf(stderr, "mockturtle-loader -D 0x<hex-number> -i <number> -f <path> [options]\n\n");
fprintf(stderr, "It loads (or dumps) an application to a Mock-Turtle internal CPU\n\n");
fprintf(stderr, "Load (or dump) an application to a Mock-Turtle internal CPU\n\n");
fprintf(stderr, "-D device identificator\n");
fprintf(stderr, "-i CPU index\n");
fprintf(stderr, "-f path to the binary to load. If the option '-d' is set, then\n");
......
......@@ -41,7 +41,7 @@ static void help()
{
fprintf(stderr, "\n");
fprintf(stderr, "mockturtle-messages [options]\n\n");
fprintf(stderr, "It dumps all messages from a given set of Mock-Turtle slots\n\n");
fprintf(stderr, "Dump all messages from a given set of Mock-Turtle slots\n\n");
fprintf(stderr, "-q message queue selection string\n\t0x<devid>,<cpu>,<hmq>,<n>\n");
fprintf(stderr, "-t print message timestamp\n");
fprintf(stderr, "-p parse protocol\n");
......
......@@ -27,7 +27,7 @@ static void help(char *name)
fprintf(stderr,
"%s -D 0x<hex-number> -c <number> -q <number> [write <idx> <value> <idx> <value> ...] [read <idx> <idx> ...]\n\n",
name);
fprintf(stderr, "It reads/writes variables on a HMQ\n\n");
fprintf(stderr, "Read/write variables on a HMQ\n\n");
fprintf(stderr, "-D device identificator in hexadecimal format\n");
fprintf(stderr, "-c CPU core index\n");
fprintf(stderr, "-q HMQ index\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment