diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 07:37:16 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 07:37:16 +0000 |
commit | b645dc5a4118feabd37d95fabbc6aaa803e3c45f (patch) | |
tree | 305ffea8613c8dce53e752d74ea3c07237cb6da2 /doc/usage.mdwn | |
parent | 6c8cf5dd571662f981227489f7c4652a1a1f10cd (diff) | |
download | ikiwiki-b645dc5a4118feabd37d95fabbc6aaa803e3c45f.tar ikiwiki-b645dc5a4118feabd37d95fabbc6aaa803e3c45f.tar.gz |
Getopt::Long is a huge, heavy perl module. So why use it?
This {gross,amazing} hack makes all wrapped uses of ikiwiki forgo any
option parsing at all. Options come in preparses via an env var from the
wrapper. As a bonus, Wrapper.pm no longer needs to be updated when command
line options are added to the program. Load time is sped up by around 10%.
ikiwikiwrap --params is no longer supported by this change. You will need
to rebuild your wrappers to take advantage of it.
Diffstat (limited to 'doc/usage.mdwn')
-rw-r--r-- | doc/usage.mdwn | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/usage.mdwn b/doc/usage.mdwn index 83866c1a8..b9744438b 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -44,9 +44,7 @@ flags such as --verbose can be negated with --no-verbose. The wrapper is designed to be safely made suid and be run by untrusted users, as a [[Subversion]] [[post-commit]] hook, or as a [[CGI]]. - Note that the generated wrapper will ignore all command line parameters - except for --params, which will make it print out the parameters it would - run ikiwiki with. + Note that the generated wrapper will ignore all command line parameters. * --wrappermode mode |