diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-04-02 22:13:46 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-04-03 20:34:07 +0200 |
commit | 459d9bfcce481b0da71e9493e644488c83e0e9ba (patch) | |
tree | 4fa6b653354cba87f5da0953b151d54af474a5bb /docs | |
parent | b393080ac3b98342b53849d14049db024183f0cb (diff) |
config: add decorator to add_option_* functions
This allows us to build an internal list of valid options and print
these.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manpages/gbp-config.sgml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/manpages/gbp-config.sgml b/docs/manpages/gbp-config.sgml index c07d758..d68ac64 100644 --- a/docs/manpages/gbp-config.sgml +++ b/docs/manpages/gbp-config.sgml @@ -23,7 +23,10 @@ <arg><option>--verbose</option></arg> <arg><option>--color=</option><replaceable>[auto|on|off]</replaceable></arg> - <arg choice="plain"><replaceable>command.option</replaceable></arg> + <group choice='req'> + <arg choice="plain"><replaceable>command.option</replaceable></arg> + <arg choice="plain"><replaceable>command</replaceable></arg> + </group> </cmdsynopsis> </refsynopsisdiv> <refsect1> @@ -85,7 +88,14 @@ would use:</para> <screen> $ gbp config buildpackage.upstream-branch - upstream + buildpackage.upstream-branch=upstream + </screen> + <para>Print the values of all of &gbp-buildpackage;s options</para> + <screen> + $ gbp config buildpackage + buildpackage.upstream-branch=upstream + buildpackage.debian-branch=master + ... </screen> </refsect1> <refsect1> |