FACT++  1.0
void PrintUsage ( )

Definition at line 42 of file rootifysql.cc.

Referenced by main().

43 {
44  cout <<
45  "rootifysql - Converts the result of a mysql query into a root file\n"
46  "\n"
47  "For convenience, this documentation uses the extended version of the options, "
48  "refer to the output below to get the abbreviations.\n"
49  "\n"
50  "Writes the result of a mysql query into a root file. For each column, a branch is "
51  "created of type double with the field name as name. This is usually the column name "
52  "if not specified otherwise by the AS mysql directive.\n"
53  "\n"
54  "Columns with CHAR or VARCHAR as field type are ignored. DATETIME, DATE and TIME "
55  "columns are converted to unix time (time_t). Rows containing any file which is "
56  "NULL are skipped if not suppressed by the --ignore-null option. Ideally, the query "
57  "is compiled in a way that no NULL field is returned. With the --display option the "
58  "result of the request is printed on the screen (NULL skipping still in action). "
59  "This can be useful to create an ascii file or to show results as 'SHOW DATABASES' "
60  "or 'EXPLAIN table'. To redirect the contents into an ascii file, the option -v0 "
61  "is useful. To suppredd writing to an output file --null can be used.\n"
62  "\n"
63  "The default is to read the query from a file called rootify.sql. Except if a different "
64  "filename is specified by the --file option or a query is given with --query.\n"
65  "\n"
66  "Comments in the query-file can be placed according to the SQL standard inline "
67  "/*comment*/ or on individual lines introduces with # or --.\n"
68  "\n"
69  "In case of succes, 0 is returned, a value>0 otherwise.\n"
70  "\n"
71  "Usage: rootifysql [rootify.sql [rootify.root]] [-u URI] [-q query|-f file] [-i] [-o out] [-f] [-cN] [-t tree] [-vN]\n"
72  "\n"
73  ;
74  cout << endl;
75 }

+ Here is the caller graph for this function: