summaryrefslogtreecommitdiff
path: root/codec/j2k_dump.c
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-10-21 09:53:13 +0000
committerAntonin Descampe <antonin@gmail.com>2010-10-21 09:53:13 +0000
commitc5151996748098cbc0983afc5afa7498a3445d05 (patch)
tree9e044a201f3470371372927303a6c2f984e83b8f /codec/j2k_dump.c
parentb6102e207cdb5a7dd89494eee9628fc844f7f655 (diff)
fixed help display (patch from winfried)
Diffstat (limited to 'codec/j2k_dump.c')
-rw-r--r--codec/j2k_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/codec/j2k_dump.c b/codec/j2k_dump.c
index f734f86f..8b567c55 100644
--- a/codec/j2k_dump.c
+++ b/codec/j2k_dump.c
@@ -274,8 +274,8 @@ int parse_cmdline_decoder(int argc, char **argv, opj_dparameters_t *parameters,i
}
}else{
if((parameters->infile[0] == 0) ) {
- fprintf(stderr, "Error: One of the options -i or -ImgDir must be specified\n");
- fprintf(stderr, "usage: image_to_j2k -i *.j2k/jp2/j2c (+ options)\n");
+ fprintf(stderr, "Example: %s -i image.j2k\n",argv[0]);
+ fprintf(stderr, " Try: %s -h\n",argv[0]);
return 1;
}
}