Make the --override option chainable
#361
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
First of all thanks for making this great tool! I've used it for a bit of time now and I really enjoy its simplicity and the powerfulness of the configuration file.
I've a little suggestion for the documentation: it took me a long, very long time a few hours ago to realize that the
--overrideargument took a list of arguments to override, instead of having to specify multiple--overrideones that don't merge with each other.This means that doing this:
Is invalid and will result in only the second override clause being considered, which can be hard to debug as the documentation does not indicate how to perform multiple overrides.
So I would suggest to merge the
--overridearguments where multiple ones are provided to theborgmaticcommands, as that's what most CLI do and is what most end users will implicitly think to.Otherwise, I suggest to at least make the syntax clear in the documentation: if multiple items must be overriden, the following must be used:
Thanks in advance!
Thank you so much for taking the time to report this. I totally agree.. The current behavior + documentation on this is super confusing. I'll see what I can do to improve matters.
Fixed in master! You can now specify
--overridemultiple times and everything gets merged properly. I'll also update the docs when I get a chance.Wow that was quick!
Thanks for your amazing work :D
Just released in borgmatic 1.5.11! (Still need to document properly.)