'\" -*- coding: UTF-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH gbp-config 1 "1 February 2021" "" "git-buildpackage Manual" .SH NAME gbp-config \- Query configuration values .SH SYNOPSIS 'nh .fi .ad l \fBgbp\ config\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [\fB--version\fR] [\fB--help\fR] [\fB--verbose\fR] [\fB--color=\fR[auto|on|off]] [\fB--color-scheme=\fR \fICOLOR_SCHEME\fR] {\fIcommand.option\fR | \fIcommand\fR} 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBgbp\ config\fR prints values from the configuration files. It interpolates the value for \fIoption\fR of \fIcommand\fR. .SH OPTIONS .TP \*(T<\fB\-\-version\fR\*(T> Print version of the program, i.e. version of the git-buildpackage suite .TP \*(T<\fB\-v\fR\*(T>, \*(T<\fB\-\-verbose\fR\*(T> Verbose execution .TP \*(T<\fB\-h\fR\*(T>, \*(T<\fB\-\-help\fR\*(T> Print help and exit .TP \*(T<\fB\-\-color=\fR\*(T>[auto|on|off] Whether to use colored output. .TP \*(T<\fB\-\-color\-scheme=\fR\*(T>\fICOLOR_SCHEME\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, \*(T<\fB\-\-git\-color\-scheme=\fR\*(T>\*(T<'cyan:34::'\*(T> 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" When \fBgbp\ config\fR finishes, it indicates success or failure with its exit code: .TP \*(T<\fB0\fR\*(T> Success. .TP \*(T<\fB1\fR\*(T> Failed to parse command line .TP \*(T<\fB2\fR\*(T> The value did not exist .SH EXAMPLES Print the value \*(T<\fBupstream\-branch\fR\*(T> that \fBgbp\ buildpackage\fR would use: .PP .nf \*(T< $ gbp config buildpackage.upstream\-branch buildpackage.upstream\-branch=upstream\*(T> .fi .PP Print the values of all of \fBgbp\ buildpackage\fR options .PP .nf \*(T< $ gbp config buildpackage buildpackage.upstream\-branch=upstream buildpackage.debian\-branch=master ...\*(T> .fi .SH "CONFIGURATION FILES" Several \*(T<\fIgbp.conf\fR\*(T> files are parsed to set defaults for the above command-line arguments. See the \fBgbp.conf\fR(5) manpage for details. .SH "SEE ALSO" \fBgbp.conf\fR(5) .SH AUTHOR Guido G\(:unther <\*(T>