Check-in [6e9726df51]
Not logged in

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

Overview
Comment:Set transient helpRequested flag in the fcli singleton.

If the client has requested help (cf. /file?ci=tip&name=src/cli.c&ln=966) with, for example. 'prog cmd help' set this flag.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6e9726df51952db2c5026423dee0d34b4898eca7
User & Date: mark 2022-06-09 04:10:45
Context
2022-06-11
12:49
f-merge now unconditionally shows the symbolic name legend if any files are modified by the merge. TODO: figure out how we can make the 'no common ancestor found' report for new merged-in files less scary. check-in: 8ba74c252f user: stephan tags: trunk
2022-06-09
04:10
Set transient helpRequested flag in the fcli singleton.

If the client has requested help (cf. /file?ci=tip&name=src/cli.c&ln=966) with, for example. 'prog cmd help' set this flag. check-in: 6e9726df51 user: mark tags: trunk

00:23
Added missing handling of (--format debug) in f-vdiff. Added a reference to ticket [746ebbe86c20b5c0f96] regarding the issue of adjacent diff chunks getting a superfluous separator. check-in: 9cee12cf17 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/cli.c.
995
996
997
998
999
1000
1001

1002
1003
1004
1005
1006
1007
1008
      }
      break;
    }
  }
  if(helpState){
    f_out("\n");
    fcli_command_help(helpPos, true, helpState>1);

  }else if(!cmd->name){
    fsl_buffer msg = fsl_buffer_empty;
    int rc2;
    if(!arg){
      rc2 = FSL_RC_MISUSE;
      fsl_buffer_appendf(&msg, "No command provided.");
    }else{







>







995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
      }
      break;
    }
  }
  if(helpState){
    f_out("\n");
    fcli_command_help(helpPos, true, helpState>1);
    fcli.transient.helpRequested++;
  }else if(!cmd->name){
    fsl_buffer msg = fsl_buffer_empty;
    int rc2;
    if(!arg){
      rc2 = FSL_RC_MISUSE;
      fsl_buffer_appendf(&msg, "No command provided.");
    }else{