|author||Joey Hess <firstname.lastname@example.org>||2009-08-26 16:41:53 -0400|
|committer||Joey Hess <email@example.com>||2009-08-26 16:41:53 -0400|
drop regex support from remove_command_options
I hope that it will not be needed; indeed I doubt that remove_command_options will be used much, because sequence addons would need to try to do conflicting things to need it. And the interface makes it hard for such conflicting sequence addons to work around the other, since addons can be loaded in either order. So let's not encourage them too much, and if there's a use case later, we can made changes. I haven't applied Modestas's enhanced patch that allows adding an option to all commands because I similarly think it might not be used. If a use case comes along we can add something like that.
Diffstat (limited to 'doc')
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index 211e57e..5f236eb 100644
@@ -281,8 +281,7 @@ remove_command_options($command)
remove_command_options($command, $opt1, $opt2, ...)
Remove $opt1, $opt2 etc. from the list of additional options which
- dh passes when running the specified $command. $optX might be a string
- or a regular expresion.
+ dh passes when running the specified $command.