From a1fda0b516cc4e85b7304838949df8fbe0044cf3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 1 Mar 2015 16:14:32 +0000 Subject: Standardize on --long-option instead of -long-option [[forum/refresh_and_setup]] indicates some confusion between --setup and -setup. Both work, but it's clearer if we stick to one in documentation and code. A 2012 commit to [[plugins/theme]] claims that "-setup" is required and "--setup" won't work, but I cannot find any evidence in ikiwiki's source code that this has ever been the case. --- ikiwiki-calendar.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ikiwiki-calendar.in') diff --git a/ikiwiki-calendar.in b/ikiwiki-calendar.in index 037ef7df4..74e100be2 100755 --- a/ikiwiki-calendar.in +++ b/ikiwiki-calendar.in @@ -62,5 +62,5 @@ foreach my $y ($startyear..$endyear) { IkiWiki::rcs_commit_staged(message => gettext("calendar update")) if $config{rcs}; -exec("ikiwiki", "-setup", $setup, "-refresh"); -die "failed to run ikiwiki -setup $setup -refresh\n"; +exec("ikiwiki", "--setup", $setup, "--refresh"); +die "failed to run ikiwiki --setup $setup --refresh\n"; -- cgit v1.2.3