Closed nkadel closed 5 years ago
Because these are parameters for the subcommand py2pack generate
. Try:
$ py2pack generate -h
usage: py2pack generate [-h] [--source-url SOURCE_URL]
[-t {fedora.spec,mageia.spec,opensuse.dsc,opensuse-legacy.spec,opensuse.spec}]
[-f FILENAME] [-r]
name [version]
positional arguments:
name package name
version package version (optional)
optional arguments:
-h, --help show this help message and exit
--source-url SOURCE_URL
source url
-t {fedora.spec,mageia.spec,opensuse.dsc,opensuse-legacy.spec,opensuse.spec}, --template {fedora.spec,mageia.spec,opensuse.dsc,opensuse-legacy.spec,opensuse.spec}
file template
-f FILENAME, --filename FILENAME
spec filename (optional)
-r, --run DEPRECATED and noop. will be removed in future
releases!
The supported options "--template" and "--filename" are not reported by the the "py2pack --help" command.