diff options
author | pacien | 2020-01-05 10:43:48 +0100 |
---|---|---|
committer | pacien | 2020-01-05 10:43:48 +0100 |
commit | 5367781f0c7fd1ce274492ba91895fef9d44dab3 (patch) | |
tree | e9607211188e1ab73cb057e72863297f004f5d53 /compiler/app | |
parent | 1a0f4b17fc77c4b330c43185a15230e67116a3aa (diff) | |
download | ldgallery-5367781f0c7fd1ce274492ba91895fef9d44dab3.tar.gz |
add manual
Diffstat (limited to 'compiler/app')
-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"] |