gnunet-config can be used to read or modify GNUnet configuration files. It can also provide information
to properly build applications on top of GNUnet, like appropriate values for CFLAGS or the installation
prefix.
-bBACKEND | --supported-backend=BACKEND
Tests whether the specified BACKEND is supported by the current installation. The backend must
match the name of a plugin, e.g. "namestore_postgres" for the Postgres database backend of the
"NAMESTORE" service. If the BACKEND is supported, gnunet-config will return a status code of 0
(success), otherwise 77 (unsupported). When this option is specified, no other options may be
specified. Specifying this option together with other options will cause gnunet-config to return
a status code of 1 (error).
-C | --cflags
Print an appropriate value for CFLAGS to compile applications on top of GNUnet.
-cFILENAME | --config=FILENAME
Use the configuration file FILENAME.
-F | --full
Write the full configuration, not just the deltas to the defaults.
-f | --filename
Try to perform expansions as if the option values represent filenames (will also be applied even
if the option is not really a filename).
-h | --help
Print short help on options.
-j | --libs
Print an appropriate value for LIBS to compile applications on top of GNUnet.
-LLOGLEVEL | --loglevel=LOGLEVEL
Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.
-oOPTION | --option=OPTION
Which configuration option should be accessed or edited. Required to set a value. If not given,
all values of a given section will be printed in the format "OPTION = VALUE".
-p | --prefix
Print GNUnet's installation prefix (for example /usr/local.)
-r | --rewrite
Write the configuration to file, even if it did not change.
-S-|-list-sections
List available configuration sections for use with --section.
-sSECTION | --section=SECTION
Which configuration section should be accessed or edited. Required option.
-VVALUE | --valueVALUE
Configuration value to store in the given section under the given option. Must only be given
together with -s and -o options.
-v | --version
Print GNUnet version number.