This commit is contained in:
John Cupitt 2010-05-26 11:26:09 +00:00
parent 8cb481f0be
commit def00f7854
3 changed files with 17 additions and 11 deletions

Binary file not shown.

View File

@ -92,21 +92,21 @@ static GOptionEntry main_option[] = {
{ "list", 'l', 0, G_OPTION_ARG_STRING, &main_option_list,
N_( "list operations in PACKAGE "
"(or \"all\", \"packages\", \"classes\")" ),
"PACKAGE" },
N_( "PACKAGE" ) },
{ "usage", 'u', 0, G_OPTION_ARG_STRING, &main_option_usage,
N_( "show usage message for OPERATION" ),
"OPERATION" },
N_( "OPERATION" ) },
{ "plugin", 'p', 0, G_OPTION_ARG_FILENAME, &main_option_plugin,
N_( "load PLUGIN" ),
"PLUGIN" },
N_( "PLUGIN" ) },
{ "links", 'k', 0, G_OPTION_ARG_NONE, &main_option_links,
N_( "print link lines for all operations" ), NULL },
{ "cpph", 'h', 0, G_OPTION_ARG_STRING, &main_option_cpph,
N_( "print C++ decls for PACKAGE (or \"all\")" ),
"PACKAGE" },
N_( "PACKAGE" ) },
{ "cppc", 'c', 0, G_OPTION_ARG_STRING, &main_option_cppc,
N_( "print C++ binding for PACKAGE (or \"all\")" ),
"PACKAGE" },
N_( "PACKAGE" ) },
{ "version", 'v', 0, G_OPTION_ARG_NONE, &main_option_version,
N_( "print im_version_string" ), NULL },
{ NULL }

View File

@ -42,19 +42,25 @@ static gboolean verbose = FALSE;
static GOptionEntry options[] = {
{ "size", 's', 0, G_OPTION_ARG_INT, &thumbnail_size,
N_( "set thumbnail size to N" ), "N" },
N_( "set thumbnail size to SIZE" ),
N_( "SIZE" ) },
{ "output", 'o', 0, G_OPTION_ARG_STRING, &output_format,
N_( "set output to S" ), "S" },
N_( "set output to FORMAT" ),
N_( "FORMAT" ) },
{ "disc", 'd', 0, G_OPTION_ARG_INT, &use_disc_threshold,
N_( "set disc use threshold to N" ), "N" },
N_( "set disc use threshold to BYTES" ),
N_( "BYTES" ) },
{ "interpolator", 'p', 0, G_OPTION_ARG_STRING, &interpolator,
N_( "resample with interpolator I" ), "I" },
N_( "resample with INTERPOLATOR" ),
N_( "INTERPOLATOR" ) },
{ "nosharpen", 'n', 0, G_OPTION_ARG_NONE, &nosharpen,
N_( "don't sharpen thumbnail" ), NULL },
{ "eprofile", 'e', 0, G_OPTION_ARG_STRING, &export_profile,
N_( "export with profile P" ), "P" },
N_( "export with PROFILE" ),
N_( "PROFILE" ) },
{ "iprofile", 'i', 0, G_OPTION_ARG_STRING, &import_profile,
N_( "import untagged images with profile P" ), "P" },
N_( "import untagged images with PROFILE" ),
N_( "PROFILE" ) },
{ "nodelete", 'l', 0, G_OPTION_ARG_NONE, &nodelete_profile,
N_( "don't delete profile from exported image" ), NULL },
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose,