Fossil

Check-in [5ed566f8]
Login

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

Overview
Comment:Modify the test-echo command to also show the name of the executable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5ed566f805daa2151c17d77d8bdf4380d55b6015
User & Date: drh 2012-11-29 18:46:32
Context
2012-11-29
20:23
All the --verbose option on "all sync", "all push", and "all pull". check-in: 4ee99cc8 user: drh tags: trunk
18:46
Modify the test-echo command to also show the name of the executable. check-in: 5ed566f8 user: drh tags: trunk
18:39
Fix the "all" command on mac, broken by the penultimate check-in. check-in: 2f187c2f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  2035   2035   **
  2036   2036   ** With the --hex option, show the output as hexadecimal.  This can be used
  2037   2037   ** to verify the fossil_filename_to_utf8() routine on Windows and Mac.
  2038   2038   */
  2039   2039   void test_echo_cmd(void){
  2040   2040     int i, j;
  2041   2041     if( find_option("hex",0,0)==0 ){
         2042  +    fossil_print("g.nameOfExe = [%s]\n", g.nameOfExe);
  2042   2043       for(i=0; i<g.argc; i++){
  2043   2044         fossil_print("argv[%d] = [%s]\n", i, g.argv[i]);
  2044   2045       }
  2045   2046     }else{
  2046   2047       unsigned char *z, c;
  2047   2048       for(i=0; i<g.argc; i++){
  2048   2049         fossil_print("argv[%d] = [", i);