Ignore:
Timestamp:
07/08/20 20:38:51 (4 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/loader_test_geno.cpp

    r973 r986  
    1919                fprintf(stderr, "Arguments: filename [genotype name or index (1-based) [field name]]\n"
    2020                        "If a genotype is indicated (by providing the optional genotype identifier), the program will output the raw genotype, suitable for Framsticks Theater's genotype viewer mode. If a genotype and a field name is given, the field value (instead of the raw genotype) is printed. If the second argument is not given, the genotype names from the file will be listed.\n"
    21                         "Example: loader_test walking.gen \"Basic Quadruped\" | theater -g -\n"
     21                        "Example: loader_test_geno walking.gen \"Basic Quadruped\" | theater -g -\n"
    2222                );
    2323                return 1;
     
    6969        // the loop repeats until loaded==NULL, which could be beacause of error
    7070        if (loader.getStatus() == GenotypeMiniLoader::OnError)
    71                 fprintf(stderr, "Error: %s", loader.getError().c_str());
     71                fprintf(stderr, "Error: %s\n", loader.getError().c_str());
    7272        // (otherwise it was the end of the file)
    7373        if (selected)
    7474        {
    75                 fprintf(stderr, "genotype %s not found in %s\n", selected, argv[1]);
     75                fprintf(stderr, "Genotype %s not found in %s\n", selected, argv[1]);
    7676                return 2;
    7777        }
    7878        else
    7979        {
    80                 fprintf(stderr, "\ntotal: %d items, %d characters\n", count, totalsize);
     80                fprintf(stderr, "\nTotal: %d items, %d characters\n", count, totalsize);
    8181                return 0;
    8282        }
Note: See TracChangeset for help on using the changeset viewer.