Fossil

Check-in [cf5bbd92]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:added some help docs + TODO
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cf5bbd92a2f5f0585c118b20fdb2eeb6c160581e
User & Date: stephan 2008-05-14 23:01:41.000
Context
2008-05-14
23:02
corrected my *buntu release name ... (check-in: 7c4eee9c user: stephan tags: trunk)
23:01
added some help docs + TODO ... (check-in: cf5bbd92 user: stephan tags: trunk)
20:59
Cleanup and simplify the code for the recently added "wiki" command. ... (check-in: decac09b user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/wiki.c.
610
611
612
613
614
615
616
617
618
619
620
621
622

623

624
625
626
627
628
629
630
**     %fossil wiki export WikiName
**
**         Sends the latest version of the WikiName wiki
**         entry to stdout.
**
**     %fossil wiki list
**
**         Lists all wiki entries, one per line.
**
**
** TODOs:
**
**     %fossil export WikiName ?UUID? ?-f outfile?

**     %fossil commit WikiName ?-f infile?

*/
void wiki_cmd(void){
  int n;
  db_find_and_open_repository(1);
  if( g.argc<3 ){
    goto wiki_cmd_usage;
  }







|
|



|
>
|
>







610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
**     %fossil wiki export WikiName
**
**         Sends the latest version of the WikiName wiki
**         entry to stdout.
**
**     %fossil wiki list
**
**         Lists all wiki entries, one per line, ordered
**         case-insentively by name.
**
** TODOs:
**
**     %fossil export ?UUID? ?-f outfile[=stdout]? WikiName
**     %fossil delete ?-m MESSAGE? WikiName (can we have a commit message for a wiki page?)
**     %fossil commit ?-f infile[=stdin]? WikiName
**     Commit should create a new entry if one doesn't exist.
*/
void wiki_cmd(void){
  int n;
  db_find_and_open_repository(1);
  if( g.argc<3 ){
    goto wiki_cmd_usage;
  }