Fossil SCM
Added missing reference to the -json-input flag for the json command.
Commit
2accaaeeadd34cb600ce0a0dbed1a6beb105de89909e126cc008becc6a03bdbf
Parent
fd928b6ef9a3f96…
1 file changed
+5
+5
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -2249,10 +2249,15 @@ | ||
| 2249 | 2249 | ** Usage: %fossil json SUBCOMMAND ?OPTIONS? |
| 2250 | 2250 | ** |
| 2251 | 2251 | ** In CLI mode, the -R REPO common option is supported. Due to limitations |
| 2252 | 2252 | ** in the argument dispatching code, any -FLAGS must come after the final |
| 2253 | 2253 | ** sub- (or subsub-) command. |
| 2254 | +** | |
| 2255 | +** The -json-input FILE option can be used to read JSON data and process | |
| 2256 | +** it like the HTTP interface would. For example: | |
| 2257 | +** | |
| 2258 | +** %fossil json -json-input my.json | |
| 2254 | 2259 | ** |
| 2255 | 2260 | ** The commands include: |
| 2256 | 2261 | ** |
| 2257 | 2262 | ** anonymousPassword |
| 2258 | 2263 | ** artifact |
| 2259 | 2264 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2249,10 +2249,15 @@ | |
| 2249 | ** Usage: %fossil json SUBCOMMAND ?OPTIONS? |
| 2250 | ** |
| 2251 | ** In CLI mode, the -R REPO common option is supported. Due to limitations |
| 2252 | ** in the argument dispatching code, any -FLAGS must come after the final |
| 2253 | ** sub- (or subsub-) command. |
| 2254 | ** |
| 2255 | ** The commands include: |
| 2256 | ** |
| 2257 | ** anonymousPassword |
| 2258 | ** artifact |
| 2259 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2249,10 +2249,15 @@ | |
| 2249 | ** Usage: %fossil json SUBCOMMAND ?OPTIONS? |
| 2250 | ** |
| 2251 | ** In CLI mode, the -R REPO common option is supported. Due to limitations |
| 2252 | ** in the argument dispatching code, any -FLAGS must come after the final |
| 2253 | ** sub- (or subsub-) command. |
| 2254 | ** |
| 2255 | ** The -json-input FILE option can be used to read JSON data and process |
| 2256 | ** it like the HTTP interface would. For example: |
| 2257 | ** |
| 2258 | ** %fossil json -json-input my.json |
| 2259 | ** |
| 2260 | ** The commands include: |
| 2261 | ** |
| 2262 | ** anonymousPassword |
| 2263 | ** artifact |
| 2264 |