diff options
Diffstat (limited to 'compiler/app/Main.hs')
-rw-r--r-- | compiler/app/Main.hs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/app/Main.hs b/compiler/app/Main.hs index 24d8aad..319e984 100644 --- a/compiler/app/Main.hs +++ b/compiler/app/Main.hs | |||
@@ -41,29 +41,29 @@ data Options = Options | |||
41 | options = Options | 41 | options = Options |
42 | { inputDir = "./" | 42 | { inputDir = "./" |
43 | &= typDir | 43 | &= typDir |
44 | &= explicit | ||
45 | &= name "i" | 44 | &= name "i" |
46 | &= name "input-dir" | 45 | &= name "input-dir" |
46 | &= explicit | ||
47 | &= help "Gallery source directory (default=./)" | 47 | &= help "Gallery source directory (default=./)" |
48 | , outputDir = "./out" | 48 | , outputDir = "./out" |
49 | &= typDir | 49 | &= typDir |
50 | &= explicit | ||
51 | &= name "o" | 50 | &= name "o" |
52 | &= name "output-dir" | 51 | &= name "output-dir" |
52 | &= explicit | ||
53 | &= help "Generated gallery output path (default=./out)" | 53 | &= help "Generated gallery output path (default=./out)" |
54 | , rebuilAll = False | 54 | , rebuilAll = False |
55 | &= explicit | ||
56 | &= name "r" | 55 | &= name "r" |
57 | &= name "rebuild-all" | 56 | &= name "rebuild-all" |
57 | &= explicit | ||
58 | &= help "Invalidate cache and recompile everything" | 58 | &= help "Invalidate cache and recompile everything" |
59 | , withViewer = False | 59 | , withViewer = False |
60 | &= explicit | ||
61 | &= name "w" | 60 | &= name "w" |
62 | &= name "with-viewer" | 61 | &= name "with-viewer" |
62 | &= explicit | ||
63 | &= help "Include the static web viewer in the output" | 63 | &= help "Include the static web viewer in the output" |
64 | } | 64 | } |
65 | 65 | ||
66 | &= summary ("ldgallery v" ++ (showVersion version) ++ " - a static gallery generator with tags") | 66 | &= summary ("ldgallery v" ++ (showVersion version) ++ " - a static web gallery generator with tags") |
67 | &= program "ldgallery" | 67 | &= program "ldgallery" |
68 | &= help "Compile a gallery" | 68 | &= help "Compile a gallery" |
69 | &= helpArg [explicit, name "h", name "help"] | 69 | &= helpArg [explicit, name "h", name "help"] |