Fossil

Check-in [eb3796a8]
Login

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

Overview
Comment:Also correct syntax error message.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | ckol-th1-dir-cmd
Files: files | file ages | folders
SHA1: eb3796a81de902531fba1869f228d3f12eb162f4
User & Date: mistachkin 2015-08-18 07:53:56.894
Context
2015-08-21
04:33
Update and improve comments. ... (check-in: 676d97d7 user: mistachkin tags: ckol-th1-dir-cmd)
2015-08-18
07:53
Also correct syntax error message. ... (check-in: eb3796a8 user: mistachkin tags: ckol-th1-dir-cmd)
07:52
Merge updates from trunk. ... (check-in: 08b8a4ba user: mistachkin tags: ckol-th1-dir-cmd)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/th_main.c.
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
  const char **argv,
  int *argl
){
  const char *zGlob = 0;
  int bDetails = 0;

  if( argc<2 || argc>4 ){
    return Th_WrongNumArgs(interp, "dir CHECKIN ?GLOB?");
  }
  if( argc>=3 ){
    zGlob = argv[2];
  }
  if( argc>=4 && Th_ToInt(interp, argv[3], argl[3], &bDetails) ){
    return TH_ERROR;
  }







|







213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
  const char **argv,
  int *argl
){
  const char *zGlob = 0;
  int bDetails = 0;

  if( argc<2 || argc>4 ){
    return Th_WrongNumArgs(interp, "dir CHECKIN ?GLOB? ?DETAILS?");
  }
  if( argc>=3 ){
    zGlob = argv[2];
  }
  if( argc>=4 && Th_ToInt(interp, argv[3], argl[3], &bDetails) ){
    return TH_ERROR;
  }