Generic flags merged into UseFlags.conf

Ever since the new flag engine came in it’s been possible to specify your generic flags in UseFlags.conf, using the same syntax you’d use in the GenericFlags.conf file. I’ve decided it’s not really worth having two separate closely-related files to do that, so GenericFlags.conf has been merged into UseFlags.conf in the default settings for trunk Scripts. It will make them more discoverable too, which is handy.

New users will get that automatically; existing users will need to run `UpdateSettings Scripts` and merge the files, then delete GenericFlags.conf once it’s not in use. If you’ve modified your generic flags, just concatenate it with UseFlags.conf; otherwise, the auto-merge ought to work.

Two new commands (or new syntaxes, really) come in to make it all easier too: foo:+ bar baz will prepend bar and baz to the generic foo, which may be especially handy in ~/.config/Scripts/UseFlags.conf. The other is foo:- bar baz, which will remove bar and baz from foo (wherever they’re listed).

All of this is in trunk Scripts now; if you’re not tracking trunk, you’ll get to see it in the next release.

Leave a Reply