aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-16 17:02:29 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-16 17:02:29 -0400
commitb14f84c4acccbc8450a9102b3b647013989b27bb (patch)
treebc02d7e1c6228775b46040de2945382324a0c4a9 /ikiwiki.in
parent6c5c0f8c682a2727bb71652668fef90a40d99f25 (diff)
downloadikiwiki-b14f84c4acccbc8450a9102b3b647013989b27bb.tar
ikiwiki-b14f84c4acccbc8450a9102b3b647013989b27bb.tar.gz
--gettime revamp
* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index 38e4d3201..801ff9a0b 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -44,7 +44,8 @@ sub getconfig () {
"wrappergroup=s" => \$config{wrappergroup},
"usedirs!" => \$config{usedirs},
"prefix-directives!" => \$config{prefix_directives},
- "getctime" => \$config{getctime},
+ "getctime" => \$config{gettime},
+ "gettime" => \$config{gettime},
"numbacklinks=i" => \$config{numbacklinks},
"rcs=s" => \$config{rcs},
"no-rcs" => sub { $config{rcs}="" },