示例#1
0
  "terse",
  "all",
  NULL
};

const Ecore_Getopt optdesc = {
  "edje_inspector",
  "%prog [options] <file.edj>",
  PACKAGE_VERSION,
  "(C) 2010 - The Enlightenment Project",
  "BSD",
  "Edje file inspector, let one see groups, parts, programs and other details "
  "of a compiled (binary) edje file.\n",
  0,
  {
    ECORE_GETOPT_CHOICE('m', "mode", "Choose which mode to operate on file.",
                        mode_choices),
    ECORE_GETOPT_CHOICE('d', "detail", "Choose detail level (default=terse)",
                        detail_choices),
    ECORE_GETOPT_STORE_STR('g', "group", "Limit output to group (or glob)."),
    ECORE_GETOPT_STORE_STR('p', "part", "Limit output to part (or glob)."),
    ECORE_GETOPT_STORE_STR('r', "program",
                           "Limit output to program (or glob)."),
    ECORE_GETOPT_STORE_TRUE('a', "api-only", "Limit to just api parts or "
                            "programs."),
    ECORE_GETOPT_STORE_TRUE('A', "api-fix", "Fix API names to be C compliant."),
    ECORE_GETOPT_STORE_TRUE('M', "machine", "Produce machine readable output."),
    ECORE_GETOPT_LICENSE('L', "license"),
    ECORE_GETOPT_COPYRIGHT('C', "copyright"),
    ECORE_GETOPT_VERSION('V', "version"),
    ECORE_GETOPT_HELP('h', "help"),
    ECORE_GETOPT_SENTINEL
示例#2
0
文件: main.c 项目: dzhshf/WebKit
 "EWebLauncher",
 "%prog [options] [url]",
 "0.0.1",
 "(C)2008 INdT (The Nokia Technology Institute)\n"
 "(C)2009, 2010 ProFUSION embedded systems\n"
 "(C)2009, 2010, 2011 Samsung Electronics\n"
 "(C)2012 Intel Corporation\n",
 "GPL",
 "Test Web Browser using the Enlightenment Foundation Libraries of WebKit",
 EINA_TRUE, {
     ECORE_GETOPT_STORE_STR
         ('e', "engine", "ecore-evas engine to use."),
     ECORE_GETOPT_CALLBACK_NOARGS
         ('E', "list-engines", "list ecore-evas engines.",
          ecore_getopt_callback_ecore_evas_list_engines, NULL),
     ECORE_GETOPT_CHOICE
         ('b', "backing-store", "choose backing store to use.", backingStores),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('f', "flattening", "frame flattening.", 0),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('F', "fullscreen", "fullscreen mode.", 0),
     ECORE_GETOPT_CALLBACK_ARGS
         ('g', "geometry", "geometry to use in x:y:w:h form.", "X:Y:W:H",
          ecore_getopt_callback_geometry_parse, NULL),
     ECORE_GETOPT_STORE_STR
         ('t', "theme", "path to read the theme file from."),
     ECORE_GETOPT_STORE_STR
         ('U', "user-agent", "custom user agent string to use."),
     ECORE_GETOPT_COUNT
         ('v', "verbose", "be more verbose."),
     ECORE_GETOPT_VERSION
         ('V', "version"),