Fossil

Check-in [94741fb68f]
Login

Check-in [94741fb68f]

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

Overview
Comment:help overview page uses table layout
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | wolfgangHelpCmd
Files: files | file ages | folders
SHA1: 94741fb68fd0e50fa9681f4357992d7577ae1eee
User & Date: wolfgang 2010-10-08 12:32:36.000
Context
2010-10-08
12:39
help page linkt to doc files references fossil-scm.org, not the local repository to be usefull in all repositories, not only in clones of fossil ... (check-in: 47f4866bbc user: wolfgang tags: wolfgangHelpCmd)
12:32
help overview page uses table layout ... (check-in: 94741fb68f user: wolfgang tags: wolfgangHelpCmd)
12:18
removed quotes from command cross references and add them in help command ... (check-in: b3bf08cc84 user: wolfgang tags: wolfgangHelpCmd)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
676
677
678
679
680
681
682

683


684


685

686




687
688
689

690

691
692
693
694
695
696
697
      }
      @ <hr>additional information may be found in the web documentation:
      @ <a href="doc/tip/www/cmd_%s(aCommand[idx].zName).wiki">
      @ cmd_%s(aCommand[idx].zName)</a>, see also the list of
      @ <a href="help">available commands</a> in fossil
      @ version %s(MANIFEST_VERSION" "MANIFEST_DATE) UTC
    }else{

      int i;





      @ <h1>Available commands</h1>

      for(i=0; i<count(aCommand); i++){




        if( strncmp(aCommand[i].zName,"test",4)==0 ) continue;
        @ <kbd><a href="help?cmd=%s(aCommand[i].zName)">
        @ %s(aCommand[i].zName)</a></kbd>

      }

      @ <hr/>fossil version %s(MANIFEST_VERSION" "MANIFEST_DATE) UTC
    }
    style_footer();
}

/*
** Set the g.zBaseURL value to the full URL for the toplevel of







>
|
>
>
|
>
>

>
|
>
>
>
>

|
|
>

>







676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
      }
      @ <hr>additional information may be found in the web documentation:
      @ <a href="doc/tip/www/cmd_%s(aCommand[idx].zName).wiki">
      @ cmd_%s(aCommand[idx].zName)</a>, see also the list of
      @ <a href="help">available commands</a> in fossil
      @ version %s(MANIFEST_VERSION" "MANIFEST_DATE) UTC
    }else{
      int nCol, nRow, i, tests, cnt;

      for( i=0,tests=0; i<count(aCommand); i++){
        if( strncmp(aCommand[i].zName,"test",4)==0 ) tests++;
      }
      nCol = 4;
      nRow = (count(aCommand)-tests+nCol-1)/nCol;
      @ <h1>Available commands</h1>
      @ <table class="browser"><tr><td class="browser"><ul class="browser">
      for( i=cnt=0; i<count(aCommand); i++ ){
        if( cnt==nRow ){
          @ </ul></td><td class="browser"><ul class="browser">
	  cnt=0;
        }
        if( strncmp(aCommand[i].zName,"test",4)==0 ) continue;
        @ <li><kbd><a href="help?cmd=%s(aCommand[i].zName)">
        @ %s(aCommand[i].zName)</a></kbd></li>
        cnt++;
      }
      @ </ul></td></tr></table>
      @ <hr/>fossil version %s(MANIFEST_VERSION" "MANIFEST_DATE) UTC
    }
    style_footer();
}

/*
** Set the g.zBaseURL value to the full URL for the toplevel of