Open jackton1 opened 6 years ago
I ran into this problem too, and found that -n
and --dry-run
are not equivalent, even though the usage message says they should be:
--dry-run, -n Don't write any files, just pretend. (default: False)
With -n
I get the error your report. With --dry-run
it works as advertised. @jackton1 - Which are you using?
When I run the same command using
--dry-run
it executes without the part positional argument added.Also running with
--verbose
option it works fine.Sample command
bumpversion --allow-dirty --list --config-file /path/to/.bumpversion-local.cfg patch /path/to/setup.py
My sample config fileRaises