Project

General

Profile

Revision 0f293628 src/tools/aqbanking-cli/main.c

View differences:

src/tools/aqbanking-cli/main.c
324 324
      return 1;
325 325
    }
326 326

  
327
    if (strcasecmp(cmd, "listaccs")==0) {
327
    if (strcasecmp(cmd, "listaccs")==0 ||
328
        strcasecmp(cmd, "listaccounts")==0) {
328 329
      rv=listAccs(ab, db, argc, argv);
329 330
    }
330 331
    else if (strcasecmp(cmd, "listbal")==0) {
......
334 335
      rv=listTrans(ab, db, argc, argv);
335 336
    }
336 337
    else if (strcasecmp(cmd, "listtransfers")==0) {
337
      fprintf(stderr, "ERROR: Please use the command \"listtrans\" and specify the transaction type via \"-tt TYPE\"\n");
338
      fprintf(stderr, "ERROR: Please use the commands \"listtrans\" or \"export\" and specify the transaction type via \"-tt TYPE\"\n");
338 339
      GWEN_DB_Group_free(db);
339 340
      return 1;
340 341
    }
341 342
    else if (strcasecmp(cmd, "request")==0) {
342 343
      rv=request(ab, db, argc, argv);
343 344
    }
344
    else if (strcasecmp(cmd, "chkacc")==0) {
345
      rv=chkAcc(ab, db, argc, argv);
346
    }
347 345
    else if (strcasecmp(cmd, "chkiban")==0) {
348 346
      rv=chkIban(ab, db, argc, argv);
349 347
    }

Also available in: Unified diff