summaryrefslogtreecommitdiff
path: root/directiv.pl
diff options
context:
space:
mode:
Diffstat (limited to 'directiv.pl')
-rwxr-xr-xdirectiv.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/directiv.pl b/directiv.pl
index 01af235..51d0ec3 100755
--- a/directiv.pl
+++ b/directiv.pl
@@ -35,7 +35,9 @@
#
# Generate a perfect hash for directive parsing
#
-# Usage: directiv.pl directiv.dat directiv.c directiv.h
+# Usage:
+# directiv.pl h directiv.dat directiv.h (to generate C header)
+# directiv.pl c directiv.dat directiv.c (to generate C source)
#
require 'phash.ph';