Fossil

Check-in [6a97d775]
Login

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

Overview
Comment:Add the test-list-webpage command.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6a97d77501d92409c470f34a2955add9dd2382f0
User & Date: drh 2011-09-26 14:43:53
Context
2011-09-27
16:34
Add the --stats option to the rebuild command. check-in: f25e5e53 user: drh tags: trunk
03:55
Merge latest trunk changes. check-in: 2d2b45bb user: mistachkin tags: tcl-integration
01:01
Started refactoring specific json command groups into their own files (80kb is getting too big to manage in one file). check-in: 5d2a516f user: stephan tags: json
2011-09-26
14:43
Add the test-list-webpage command. check-in: 6a97d775 user: drh tags: trunk
2011-09-25
11:14
Fix double LI tags when listing wiki attachments for users without permissions. check-in: 12272b7f user: dmitry tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

644
645
646
647
648
649
650















651
652
653
654
655
656
657
  for(i=nCmd=0; i<count(aCommand); i++){
    if( strncmp(aCommand[i].zName,"test",4)!=0 ) continue;
    aCmd[nCmd++] = aCommand[i].zName;
  }
  multi_column_list(aCmd, nCmd);
}

















/*
** COMMAND: version
**
** Usage: %fossil version
**
** Print the source code version number for the fossil executable.







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
  for(i=nCmd=0; i<count(aCommand); i++){
    if( strncmp(aCommand[i].zName,"test",4)!=0 ) continue;
    aCmd[nCmd++] = aCommand[i].zName;
  }
  multi_column_list(aCmd, nCmd);
}


/*
** COMMAND: test-list-webpage
**
** List all web pages
*/
void cmd_test_webpage_list(void){
  int i, nCmd;
  const char *aCmd[count(aWebpage)];
  for(i=nCmd=0; i<count(aWebpage); i++){
    aCmd[nCmd++] = aWebpage[i].zName;
  }
  multi_column_list(aCmd, nCmd);
}


/*
** COMMAND: version
**
** Usage: %fossil version
**
** Print the source code version number for the fossil executable.