g-ir-scanner -V (return code: 2)
Usage: g-ir-scanner [options] sources
g-ir-scanner: error: no such option: --version
g-ir-scanner --help (return code: 0)
Usage: g-ir-scanner [options] sources
Options:
-h, --help show this help message and exit
--quiet If passed, do not print details of normal operation
--format=FORMAT format to use, one of gidl, gir
-i INCLUDES, --include=INCLUDES
Add specified gir file as dependency
--include-uninstalled=INCLUDES_UNINSTALLED
A file path to a dependency; only use this "
"when building multiple .gir files inside a "
"single module.
--add-include-path=INCLUDE_PATHS
include paths for other GIR files
--program=PROGRAM program to execute
--program-arg=PROGRAM_ARGS
extra arguments to program
--libtool=LIBTOOL_PATH
full path to libtool
--no-libtool do not use libtool
--external-library If true, the library is located on the system,not in
the current directory
-l LIBRARIES, --library=LIBRARIES
libraries of this unit
--extra-library=EXTRA_LIBRARIES
Extra libraries to link the binary against
-L LIBRARY_PATHS, --library-path=LIBRARY_PATHS
directories to search for libraries
--header-only If specified, just generate a GIR for the given header
files
-n NAMESPACE_NAME, --namespace=NAMESPACE_NAME
name of namespace for this unit, also used to compute
--identifier-prefix and --symbol-prefix
--nsversion=NAMESPACE_VERSION
version of namespace for this unit
--strip-prefix=STRIP_PREFIX
Option --strip-prefix is deprecated, please see
--identifier-prefix and --symbol-prefix.
--identifier-prefix=IDENTIFIER_PREFIXES
Remove this prefix from C identifiers (structure
typedefs, etc.). May be specified multiple times.
This is also used as the default for --symbol-prefix
if the latter is not specified.
--identifier-filter-cmd=IDENTIFIER_FILTER_CMD
Filter identifiers (struct and union typedefs) through
the given shell command which will receive the
identifier name as input to stdin and is expected to
output the filtered results to stdout.
--symbol-prefix=SYMBOL_PREFIXES
Remove this prefix from C symbols (function names)
--symbol-filter-cmd=SYMBOL_FILTER_CMD
Filter symbols (function names) through the given
shell command which will receive the symbol name as
input to stdin and is expected to output the filtered
results to stdout.
--accept-unprefixed If specified, accept symbols and identifiers that do
not match the namespace prefix.
--add-init-section=INIT_SECTIONS
add extra initialization code in the introspection
program
-o OUTPUT, --output=OUTPUT
output filename to write to, defaults to - (stdout)
--pkg=PACKAGES pkg-config packages to get cflags from
--pkg-export=PACKAGES_EXPORT
Associated pkg-config packages for this library
--warn-all If true, enable all warnings for introspection
--warn-error Turn warnings into fatal errors
-v, --verbose be verbose
--c-include=C_INCLUDES
headers which should be included in C programs
--filelist=FILELIST file containing headers and sources to be scanned
--function-decoration=FUNCTION_DECORATION
Macro to decorate functions in generated code
--include-first-in-header=INCLUDE_FIRST_HEADER
Header to include first in generated header
--include-last-in-header=INCLUDE_LAST_HEADER
Header to include after the other headers in generated
header
--include-first-in-src=INCLUDE_FIRST_SRC
Header to include first in generated sources
--include-last-in-src=INCLUDE_LAST_SRC
Header to include after the other headers in generated
sources
Preprocessor options:
--cflags-begin Start preprocessor/compiler flags
--cflags-end End preprocessor/compiler flags
-I CPP_INCLUDES Pre-processor include file
-D CPP_DEFINES Pre-processor define
-U CPP_UNDEFINES Pre-processor undefine
-p Ignored