.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "GBP-CONFIG" "1" "" "" "git-buildpackage Manual"
.SH NAME
gbp-config \- Query configuration values
.SH SYNOPSIS
\fBgbp\~config\fR [ \fB--version\fR ] [ \fB--help\fR ] [ \fB--verbose\fR ] [ \fB--color=\fI[auto|on|off]\fB\fR ] [ \fB--color-scheme=\fICOLOR_SCHEME\fB\fR ] { \fB\fIcommand.option\fB\fR | \fB\fIcommand\fB\fR }
.SH "DESCRIPTION"
.PP
\fBgbp\~config\fR prints values from the configuration files. It interpolates the
value for \fIoption\fR of
\fIcommand\fR\&.
.SH "OPTIONS"
.TP
\fB--version\fR
Print version of the program, i.e. version of the git-buildpackage
suite
.TP
\fB-v\fR
.TP
\fB--verbose\fR
Verbose execution
.TP
\fB-h\fR
.TP
\fB--help\fR
Print help and exit
.TP
\fB--color=\fI[auto|on|off]\fB \fR
Whether to use colored output.
.TP
\fB--color-scheme=\fICOLOR_SCHEME\fB \fR
Colors to use in output (when color is enabled). The format for
COLOR_SCHEME is
\&':::\&'.
Numerical values and color names are accepted, empty fields imply
the default color. For example,
\fB--git-color-scheme=\fR\&'cyan:34::' would
show debug messages in cyan, info messages in blue and other messages
in default (i.e. warning and error messages in red).
.SH "EXIT CODES"
.PP
When \fBgbp\~config\fR finishes, it indicates success or failure with its exit code:
.TP
\fB0\fR
Success.
.TP
\fB1\fR
Failed to parse command line
.TP
\fB2\fR
The value did not exist
.SH "EXAMPLES"
.PP
Print the value \fBupstream-branch\fR that \fBgbp\~buildpackage\fR
would use:
.nf
$ gbp config buildpackage.upstream-branch
buildpackage.upstream-branch=upstream
.fi
.PP
Print the values of all of \fBgbp\~buildpackage\fR options
.nf
$ gbp config buildpackage
buildpackage.upstream-branch=upstream
buildpackage.debian-branch=master
\&...
.fi
.SH "CONFIGURATION FILES"
.PP
Several \fIgbp.conf\fR files are parsed
to set defaults for the above command-line arguments. See the
\fBgbp.conf\fR(5)> manpage for details.
.SH "SEE ALSO"
.PP
\fBgbp.conf\fR(5)>
.SH "AUTHOR"
.PP
Guido Guenther