Check-in [ae76c7879b]
Not logged in

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

Overview
Comment:All the help URL to have its command specified as a path extension in addition to the "cmd" query parameter.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ae76c7879b78a283ac62526aa813d1e0ac2d12ed
User & Date: drh 2010-12-25 23:58:09.000
Context
2010-12-26
00:40
Fix the mkindex program so that it ignores lines beginning with COMMAND: when assembling help text. check-in: de4c07ca52 user: drh tags: trunk
2010-12-25
23:58
All the help URL to have its command specified as a path extension in addition to the "cmd" query parameter. check-in: ae76c7879b user: drh tags: trunk
23:55
Improvements to the "help" webpage. check-in: 01b3c9c1a8 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
678
679
680
681
682
683
684
685
686
687
688
689

690
691
692
693
694
695
696
    }
  }
  putchar('\n');
}

/*
** WEBPAGE: help
** URL: /help?cmd=CMD
*/
void help_page(void){
    const char * zCmd = P("cmd");
     

    style_header("Command-line Help");
    if( zCmd ){
      int rc, idx;
      char *z, *s, *d;

      style_submenu_element("Command-List", "Command-List", "%s/help", g.zTop);
      @ <h1>The "%s(zCmd)" command:</h1>







|



|
>







678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
    }
  }
  putchar('\n');
}

/*
** WEBPAGE: help
** URL: /help/CMD
*/
void help_page(void){
    const char * zCmd = P("cmd");

    if( zCmd==0 ) zCmd = P("name");
    style_header("Command-line Help");
    if( zCmd ){
      int rc, idx;
      char *z, *s, *d;

      style_submenu_element("Command-List", "Command-List", "%s/help", g.zTop);
      @ <h1>The "%s(zCmd)" command:</h1>