<arg><option>--git-tarball-dir=</option><replaceable>directory</replaceable></arg>
<arg><option>--git-export-dir=</option><replaceable>directory</replaceable></arg>
<arg><option>--git-export=</option><replaceable>treeish</replaceable></arg>
- <arg><option>--git-pristine-tar</option></arg>
+ <arg><option>--git-[no-]pristine-tar</option></arg>
<arg><option>--git-dont-purge</option></arg>
<arg><option>--git-tag-only</option></arg>
</cmdsynopsis>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--git-pristine-tar</option>
+ <term><option>--git-[no-]pristine-tar</option>
</term>
<listitem>
<para>use pristine-tar to create the orig.tar.gz</para>
<arg><option>--debian-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--upstream-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--filter=</option><replaceable>pattern</replaceable></arg>
- <arg><option>--pristine-tar</option></arg>
+ <arg><option>--[no-]pristine-tar</option></arg>
<arg choice="plain"><replaceable>debian-source.dsc</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<arg><option>--keyid=</option><replaceable>gpg-keyid</replaceable></arg>
<arg><option>--upstream-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--filter=</option><replaceable>pattern</replaceable></arg>
- <arg><option>--pristine-tar</option></arg>
+ <arg><option>--[no-]pristine-tar</option></arg>
<arg choice="plain"><replaceable>upstream-source</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
tag_group.add_config_file_option(option_name="keyid", dest="keyid")
tag_group.add_config_file_option(option_name="debian-tag", dest="debian_tag")
tag_group.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
- orig_group.add_config_file_option(option_name="pristine-tar", dest="pristine_tar", action="store_true")
+ orig_group.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
orig_group.add_config_file_option(option_name="no-create-orig", dest="no_create_orig",
help="don't create orig.tar.gz", action="store_true")
orig_group.add_config_file_option(option_name="tarball-dir", dest="tarball_dir",
parser.add_config_file_option(option_name="debian-tag", dest="debian_tag")
parser.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
parser.add_config_file_option(option_name="filter", dest="filters", action="append")
- parser.add_config_file_option(option_name="pristine-tar", dest="pristine_tar", action="store_true")
+ parser.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
(options, args) = parser.parse_args(argv[1:])
if options.verbose:
parser.add_config_file_option(option_name="keyid", dest="keyid")
parser.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
parser.add_config_file_option(option_name="filter", dest="filters", action="append")
- parser.add_config_file_option(option_name="pristine-tar", dest="pristine_tar", action="store_true")
+ parser.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
(options, args) = parser.parse_args(argv[1:])
if options.verbose: