Closed tomschr closed 9 years ago
I'm not sure with that because it is a bit more cleaner than the option without -f
There was a problem without this option, but I have no idea which it was.
I just want to pick this discussion up again: I think it makes it definitely cleaner if we have a special option for that.
Example:
--set maintainer=test_name version=version file.xml file2.xml
It's not cleaner than:
--set maintainer=test_name version=verson --file file.xml file2.xml
I agree, you can test it and when there are no problems then I'm fine with this idea.
According to the README and
--help
,docmanager
needs a-f
or--files
option. IMHO this is unnecessary and should be removed.For example,
git
,svn
, and many other commands usually don't have a-f
option to operate on their file list. They just use it without such an option. The requirement of-f
looks "unnatural" to me.For that reason, I would suggest to change this code in
__init__.py
:With that change, you can use
docmanager
like this:What do you think? Is there any special reason to use
-f
?