diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 07:41:26 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 07:41:26 +0000 |
commit | 0f45548333c19d33d885b4417fa85285d74f87cf (patch) | |
tree | ada30fde9eeb99fbe5c238ff20ea30857b99d190 /ikiwiki | |
parent | 7e35ad2cd91a1abc20b7baff30d8c9e713e9d1e9 (diff) |
allow hooks to add options even to --setup
Diffstat (limited to 'ikiwiki')
-rwxr-xr-x | ikiwiki | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -69,12 +69,6 @@ sub getconfig () { #{{{ if (! $config{setup}) { loadplugins(); - run_hooks(getopt => sub { shift->() }); - if (grep /^-/, @ARGV) { - print STDERR "Unknown option: $_\n" - foreach grep /^-/, @ARGV; - usage(); - } usage() unless @ARGV == 2; $config{srcdir} = possibly_foolish_untaint(shift @ARGV); $config{destdir} = possibly_foolish_untaint(shift @ARGV); |