g-ir-compiler: remove references to --code, remove --no-init options

The "--code" option was removed years ago in ac81f3e8c5f1c380d16677232d67466e739da283
so remove references to it from README and g-ir-compiler(1)

Remove the "--no-init" option from g-ir-compiler and g-ir-compiler(1)
as it was documented to "can only be used if --code is also specified",
so no reason to keep it around.
This commit is contained in:
Dieter Verfaillie 2013-08-14 23:48:16 +02:00 committed by Simon McVittie
parent 7bff894a04
commit 0e11c0ad8d

View File

@ -6,18 +6,13 @@ g-ir-compiler \- typelib compiler.
[OPTION...] GIRFILE [OPTION...] GIRFILE
.SH DESCRIPTION .SH DESCRIPTION
g-ir-compiler converts one or more GIR files into one or more typelib. g-ir-compiler converts one or more GIR files into one or more typelib.
It can either emit the raw typelib blob (default behavior) or C code The output will be written to standard output unless the --output
(--code). The output will be written to standard output unless the --output
is specified. is specified.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \---help .B \---help
Show help options Show help options
.TP .TP
.B \, ---code
Emit C code which is suitable for including in a shared library instead
of a raw typelib.
.TP
.B \, ---output=FILENAME .B \, ---output=FILENAME
Save the resulting output in FILENAME. Save the resulting output in FILENAME.
.TP .TP
@ -27,10 +22,6 @@ Show verbose messages
.B \---debug .B \---debug
Show debug messages Show debug messages
.TP .TP
.B \---no-init
Do not include an initialization snippet to register the typelib in the
respository. This can only be used if --code is also specified.
.TP
.B \---includedir=DIRECTORY .B \---includedir=DIRECTORY
Adds a directory which will be used to find includes inside the GIR format. Adds a directory which will be used to find includes inside the GIR format.
.TP .TP