Fossil SCM
Usage text correction (wrong parameter name) in (json report get).
Commit
53ba1f2950b825c5680060d58aa414bb1dd85b4e
Parent
f42096f7ca1d579…
1 file changed
+1
-1
+1
-1
| --- src/json_report.c | ||
| +++ src/json_report.c | ||
| @@ -94,11 +94,11 @@ | ||
| 94 | 94 | return NULL; |
| 95 | 95 | } |
| 96 | 96 | nReport = json_report_get_number(3); |
| 97 | 97 | if(nReport <=0){ |
| 98 | 98 | json_set_err(FSL_JSON_E_MISSING_ARGS, |
| 99 | - "Missing or invalid 'number' (-n) parameter."); | |
| 99 | + "Missing or invalid 'report' (-r) parameter."); | |
| 100 | 100 | return NULL; |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | db_prepare(&q,"SELECT rn AS report," |
| 104 | 104 | " owner AS owner," |
| 105 | 105 |
| --- src/json_report.c | |
| +++ src/json_report.c | |
| @@ -94,11 +94,11 @@ | |
| 94 | return NULL; |
| 95 | } |
| 96 | nReport = json_report_get_number(3); |
| 97 | if(nReport <=0){ |
| 98 | json_set_err(FSL_JSON_E_MISSING_ARGS, |
| 99 | "Missing or invalid 'number' (-n) parameter."); |
| 100 | return NULL; |
| 101 | } |
| 102 | |
| 103 | db_prepare(&q,"SELECT rn AS report," |
| 104 | " owner AS owner," |
| 105 |
| --- src/json_report.c | |
| +++ src/json_report.c | |
| @@ -94,11 +94,11 @@ | |
| 94 | return NULL; |
| 95 | } |
| 96 | nReport = json_report_get_number(3); |
| 97 | if(nReport <=0){ |
| 98 | json_set_err(FSL_JSON_E_MISSING_ARGS, |
| 99 | "Missing or invalid 'report' (-r) parameter."); |
| 100 | return NULL; |
| 101 | } |
| 102 | |
| 103 | db_prepare(&q,"SELECT rn AS report," |
| 104 | " owner AS owner," |
| 105 |