summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/cmd-name.pl
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-06-28 02:23:03 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-06-28 23:45:12 +0200
commitd27db1ede3195db129278d2482c87a1cc74905c3 (patch)
tree1a614543a23f2018fe52014848bbd5e7e5c005fa /crawl-ref/source/util/cmd-name.pl
parent5623267e1204b304e83f046072532a9912208755 (diff)
downloadcrawl-ref-d27db1ede3195db129278d2482c87a1cc74905c3.tar.gz
crawl-ref-d27db1ede3195db129278d2482c87a1cc74905c3.zip
Reformat some perl.
Mostly so I don't get spammed when forgetting to restrict a search to *.cc *.h files only. There's too much idiosyncratic formatting to force a standard without thinking about it first. We seem to have a bunch of unused scripts, perhaps some should get pruned away?
Diffstat (limited to 'crawl-ref/source/util/cmd-name.pl')
-rwxr-xr-xcrawl-ref/source/util/cmd-name.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/util/cmd-name.pl b/crawl-ref/source/util/cmd-name.pl
index 057176a324..fd580667ed 100755
--- a/crawl-ref/source/util/cmd-name.pl
+++ b/crawl-ref/source/util/cmd-name.pl
@@ -14,7 +14,8 @@ elsif (-e "../enum.h")
$infile = "../enum.h";
$outfile = "../cmd-name.h";
}
-else {
+else
+{
die "Can't find 'enum.h'";
}