Fossil SCM
Improved help message for the unsupported test-content-put command.
Commit
a191d8fb7661b09e12bf0c8551024ea62b0f065b
Parent
7b8e475268419c9…
1 file changed
+4
-1
+4
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -667,11 +667,14 @@ | ||
| 667 | 667 | |
| 668 | 668 | |
| 669 | 669 | /* |
| 670 | 670 | ** COMMAND: test-content-put |
| 671 | 671 | ** |
| 672 | -** Extract a blob from a file and write it into the database | |
| 672 | +** Usage: %fossil test-content-put FILE | |
| 673 | +** | |
| 674 | +** Read the content of FILE and add it to the Blob table as a new | |
| 675 | +** artifact using a direct call to content_put(). | |
| 673 | 676 | */ |
| 674 | 677 | void test_content_put_cmd(void){ |
| 675 | 678 | int rid; |
| 676 | 679 | Blob content; |
| 677 | 680 | if( g.argc!=3 ) usage("FILENAME"); |
| 678 | 681 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -667,11 +667,14 @@ | |
| 667 | |
| 668 | |
| 669 | /* |
| 670 | ** COMMAND: test-content-put |
| 671 | ** |
| 672 | ** Extract a blob from a file and write it into the database |
| 673 | */ |
| 674 | void test_content_put_cmd(void){ |
| 675 | int rid; |
| 676 | Blob content; |
| 677 | if( g.argc!=3 ) usage("FILENAME"); |
| 678 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -667,11 +667,14 @@ | |
| 667 | |
| 668 | |
| 669 | /* |
| 670 | ** COMMAND: test-content-put |
| 671 | ** |
| 672 | ** Usage: %fossil test-content-put FILE |
| 673 | ** |
| 674 | ** Read the content of FILE and add it to the Blob table as a new |
| 675 | ** artifact using a direct call to content_put(). |
| 676 | */ |
| 677 | void test_content_put_cmd(void){ |
| 678 | int rid; |
| 679 | Blob content; |
| 680 | if( g.argc!=3 ) usage("FILENAME"); |
| 681 |