Fossil SCM
reorg'd/expanded the TODOs
Commit
d13b3ff09457e70157d96ac40b6ebc8aa7f27e43
Parent
cedf518c96c12f8…
1 file changed
+24
-9
+24
-9
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -601,30 +601,45 @@ | ||
| 601 | 601 | } |
| 602 | 602 | |
| 603 | 603 | /* |
| 604 | 604 | ** COMMAND: wiki |
| 605 | 605 | ** |
| 606 | -** Usage: %fossil wiki (export|commit|list) WikiName | |
| 606 | +** Usage: %fossil wiki (export|delete|commit|list) WikiName | |
| 607 | 607 | ** |
| 608 | 608 | ** Run various subcommands to fetch wiki entries. |
| 609 | 609 | ** |
| 610 | 610 | ** %fossil wiki export WikiName |
| 611 | 611 | ** |
| 612 | -** Sends the latest version of the WikiName wiki | |
| 613 | -** entry to stdout. | |
| 612 | +** Sends the latest version of the WikiName wiki | |
| 613 | +** entry to stdout. | |
| 614 | 614 | ** |
| 615 | 615 | ** %fossil wiki list |
| 616 | 616 | ** |
| 617 | -** Lists all wiki entries, one per line, ordered | |
| 618 | -** case-insentively by name. | |
| 617 | +** Lists all wiki entries, one per line, ordered | |
| 618 | +** case-insentively by name. | |
| 619 | 619 | ** |
| 620 | 620 | ** TODOs: |
| 621 | 621 | ** |
| 622 | -** %fossil export ?UUID? ?-f outfile[=stdout]? WikiName | |
| 623 | -** %fossil delete ?-m MESSAGE? WikiName (can we have a commit message for a wiki page?) | |
| 624 | -** %fossil commit ?-f infile[=stdin]? WikiName | |
| 625 | -** Commit should create a new entry if one doesn't exist. | |
| 622 | +** %fossil wiki export ?UUID? ?-f outfile[=stdout]? WikiName | |
| 623 | +** | |
| 624 | +** Outputs the selected version of WikiName to the selected file. | |
| 625 | +** | |
| 626 | +** %fossil wiki delete ?-m MESSAGE? WikiName | |
| 627 | +** | |
| 628 | +** The same as deleting a file entry, but i don't know if fossil | |
| 629 | +** supports a commit message for Wiki entries. | |
| 630 | +** | |
| 631 | +** %fossil wiki ?-u? ?-d? ?-s=[|]? list | |
| 632 | +** | |
| 633 | +** Lists the UUID and/or Date of last change for each entry, delimited | |
| 634 | +** by the -s char. | |
| 635 | +** | |
| 636 | +** %fossil wiki commit ?-f infile[=stdin]? WikiName | |
| 637 | +** | |
| 638 | +** Commit changes to a wiki page from a file or standard input. | |
| 639 | +** It creats a new entry if needed (or is that philosophically | |
| 640 | +** wrong?). | |
| 626 | 641 | */ |
| 627 | 642 | void wiki_cmd(void){ |
| 628 | 643 | int n; |
| 629 | 644 | db_find_and_open_repository(1); |
| 630 | 645 | if( g.argc<3 ){ |
| 631 | 646 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -601,30 +601,45 @@ | |
| 601 | } |
| 602 | |
| 603 | /* |
| 604 | ** COMMAND: wiki |
| 605 | ** |
| 606 | ** Usage: %fossil wiki (export|commit|list) WikiName |
| 607 | ** |
| 608 | ** Run various subcommands to fetch wiki entries. |
| 609 | ** |
| 610 | ** %fossil wiki export WikiName |
| 611 | ** |
| 612 | ** Sends the latest version of the WikiName wiki |
| 613 | ** entry to stdout. |
| 614 | ** |
| 615 | ** %fossil wiki list |
| 616 | ** |
| 617 | ** Lists all wiki entries, one per line, ordered |
| 618 | ** case-insentively by name. |
| 619 | ** |
| 620 | ** TODOs: |
| 621 | ** |
| 622 | ** %fossil export ?UUID? ?-f outfile[=stdout]? WikiName |
| 623 | ** %fossil delete ?-m MESSAGE? WikiName (can we have a commit message for a wiki page?) |
| 624 | ** %fossil commit ?-f infile[=stdin]? WikiName |
| 625 | ** Commit should create a new entry if one doesn't exist. |
| 626 | */ |
| 627 | void wiki_cmd(void){ |
| 628 | int n; |
| 629 | db_find_and_open_repository(1); |
| 630 | if( g.argc<3 ){ |
| 631 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -601,30 +601,45 @@ | |
| 601 | } |
| 602 | |
| 603 | /* |
| 604 | ** COMMAND: wiki |
| 605 | ** |
| 606 | ** Usage: %fossil wiki (export|delete|commit|list) WikiName |
| 607 | ** |
| 608 | ** Run various subcommands to fetch wiki entries. |
| 609 | ** |
| 610 | ** %fossil wiki export WikiName |
| 611 | ** |
| 612 | ** Sends the latest version of the WikiName wiki |
| 613 | ** entry to stdout. |
| 614 | ** |
| 615 | ** %fossil wiki list |
| 616 | ** |
| 617 | ** Lists all wiki entries, one per line, ordered |
| 618 | ** case-insentively by name. |
| 619 | ** |
| 620 | ** TODOs: |
| 621 | ** |
| 622 | ** %fossil wiki export ?UUID? ?-f outfile[=stdout]? WikiName |
| 623 | ** |
| 624 | ** Outputs the selected version of WikiName to the selected file. |
| 625 | ** |
| 626 | ** %fossil wiki delete ?-m MESSAGE? WikiName |
| 627 | ** |
| 628 | ** The same as deleting a file entry, but i don't know if fossil |
| 629 | ** supports a commit message for Wiki entries. |
| 630 | ** |
| 631 | ** %fossil wiki ?-u? ?-d? ?-s=[|]? list |
| 632 | ** |
| 633 | ** Lists the UUID and/or Date of last change for each entry, delimited |
| 634 | ** by the -s char. |
| 635 | ** |
| 636 | ** %fossil wiki commit ?-f infile[=stdin]? WikiName |
| 637 | ** |
| 638 | ** Commit changes to a wiki page from a file or standard input. |
| 639 | ** It creats a new entry if needed (or is that philosophically |
| 640 | ** wrong?). |
| 641 | */ |
| 642 | void wiki_cmd(void){ |
| 643 | int n; |
| 644 | db_find_and_open_repository(1); |
| 645 | if( g.argc<3 ){ |
| 646 |