gbp-config

Name

gbp-config -- Query configuration values

Synopsis

gbp config [--verbose] [--color=[auto|on|off]] {command.option | command}

DESCRIPTION

gbp config prints values from the configuration files. It interpolates the value for option of command.

OPTIONS

--verbose, -v

verbose execution

--color=[auto|on|off]

Whether to use colored output.

EXIT CODES

When gbp config finishes it indicates success or failure with its exit code:

0

Success.

1

Failed to parse command line

2

The value did not exist

EXAMPLES

Print the value upstream-branch that gbp buildpackage would use:

    $ gbp config buildpackage.upstream-branch
    buildpackage.upstream-branch=upstream
    

Print the values of all of gbp buildpackages options

    $ gbp config buildpackage
    buildpackage.upstream-branch=upstream
    buildpackage.debian-branch=master
    ...
    

CONFIGURATION FILES

Several gbp.conf files are parsed to set defaults for the above commandline arguments. See the gbp.conf(5) manpage for details.

SEE ALSO

gbp.conf(5)

AUTHOR

Guido Guenther