11#include <stdio.h>
2+
23#include "handlers/handlers.h"
34
45int handle_help (int argc , char * argv []);
@@ -12,25 +13,30 @@ Handler create_help_handler()
1213
1314int handle_help (int argc , char * argv [])
1415{
15- const char * help_message =
16- "- [ Commands ] -\n"
17- "\n"
18- " Command | Description \n"
19- "==========+======================================================================\n"
20- " solve | Solves the given problem with the given configuration and data \n"
21- " version | Displays the current version of the tool \n"
22- " help | Displays this help message \n"
23- "\n"
24- "- [ Solve command options ] -\n"
25- "\n"
26- " Options Short | Type | Description | Default value |Example\n"
27- " =================+======+=================================================================+=================+=====================================\n"
28- " -c | Str | Path to the cuqdyn xml config file | |-c config/cuqdyn_conf.xml\n"
29- " -s | Str | Path to the sacess library xml config file | |-s config/sacess_library_conf.xml\n"
30- " -d | Str | Path to the data file (Supports text and .mat files) | |-d data/lotka_volterra.txt\n"
31- " -o | Str | Defines the output folder for the results | output/ |-o output\n"
32- "\n"
33- "Usage: %s <command> [options]...\n" ;
16+ const char * help_message = "- [ Commands ] -\n"
17+ "\n"
18+ " Command | Description \n"
19+ "==========+======================================================================\n"
20+ " solve | Solves the given problem with the given configuration and data \n"
21+ " version | Displays the current version of the tool \n"
22+ " help | Displays this help message \n"
23+ "\n"
24+ "- [ Solve command options ] -\n"
25+ "\n"
26+ " Options Short | Type | Description "
27+ " | Default value |Example\n"
28+ " =================+======+============================================================="
29+ "====+=================+=====================================\n"
30+ " -c | Str | Path to the cuqdyn xml config file "
31+ " | |-c config/cuqdyn_conf.xml\n"
32+ " -s | Str | Path to the sacess library xml config file "
33+ " | |-s config/sacess_library_conf.xml\n"
34+ " -d | Str | Path to the data file (Supports text and .mat files) "
35+ " | |-d data/lotka_volterra.txt\n"
36+ " -o | Str | Defines the output folder for the results "
37+ " | output/ |-o output\n"
38+ "\n"
39+ "Usage: %s <command> [options]...\n" ;
3440
3541
3642 printf (help_message , argv [0 ]);
0 commit comments