diff --git a/CLTool/src/clunix.cpp b/CLTool/src/clunix.cpp index 508a160..def52a5 100644 --- a/CLTool/src/clunix.cpp +++ b/CLTool/src/clunix.cpp @@ -51,7 +51,14 @@ #include "Image.h" void PrintUsage() { - fprintf(stderr, "Usage: tc [-l] [-q ] [-n ] [-simd] [-t [-j ]] \n"); + fprintf(stderr, "Usage: tc [OPTIONS] imagefile\n"); + fprintf(stderr, "\n"); + fprintf(stderr, "\t-l\t\tSave an output log.\n"); + fprintf(stderr, "\t-q \tSet compression quality level. Default: 50\n"); + fprintf(stderr, "\t-n \tCompress the image num times and give the average time and PSNR. Default: 1\n"); + fprintf(stderr, "\t-simd\t\tUse SIMD compression path\n"); + fprintf(stderr, "\t-t \tCompress the image using threads. Default: 1\n"); + fprintf(stderr, "\t-j \tUse blocks for each work item in a worker queue threading model. Default: (Blocks / Threads)\n"); } void ExtractBasename(const char *filename, char *buf, int bufSz) {