@@ -52,7 +52,7 @@ class GrainHelp extends commander.Help {
5252 // If we are running `--help` at the root, we want to list options for `compile-and-run`
5353 if ( cmd . name ( ) === "grain" ) {
5454 return super . visibleOptions (
55- cmd . commands . find ( ( command ) => command . name ( ) === "compile-and-run" )
55+ cmd . commands . find ( ( command ) => command . name ( ) === "compile-and-run" ) ,
5656 ) ;
5757 }
5858 return super . visibleOptions ( cmd ) ;
@@ -87,69 +87,69 @@ class GrainCommand extends commander.Command {
8787 "-I, --include-dirs <dirs>" ,
8888 "add additional dependency include directories" ,
8989 list ,
90- [ ]
90+ [ ] ,
9191 ) ;
9292 cmd . forwardOption (
9393 "-S, --stdlib <path>" ,
9494 "override the standard library with your own" ,
9595 null ,
96- stdlibPath
96+ stdlibPath ,
9797 ) ;
9898 cmd . forwardOption (
9999 "--initial-memory-pages <size>" ,
100100 "initial number of WebAssembly memory pages" ,
101- num
101+ num ,
102102 ) ;
103103 cmd . forwardOption (
104104 "--maximum-memory-pages <size>" ,
105105 "maximum number of WebAssembly memory pages" ,
106- num
106+ num ,
107107 ) ;
108108 cmd . forwardOption ( "--import-memory" , "import the memory from `env.memory`" ) ;
109109 cmd . forwardOption (
110110 "--elide-type-info" ,
111- "don't include runtime type information used by toString/print"
111+ "don't include runtime type information used by toString/print" ,
112112 ) ;
113113 cmd . profileOption (
114114 "--release" ,
115- "compile using the release profile (production mode)"
115+ "compile using the release profile (production mode)" ,
116116 ) ;
117117 cmd . forwardOption ( "--no-wasm-tail-call" , "disables tail-call optimization" ) ;
118118 cmd . forwardOption ( "--debug" , "compile with debugging information" ) ;
119119 cmd . forwardOption (
120120 "--wat" ,
121- "additionally produce a WebAssembly Text (.wat) file"
121+ "additionally produce a WebAssembly Text (.wat) file" ,
122122 ) ;
123123 cmd . forwardOption (
124124 "--hide-locs" ,
125- "hide locations from intermediate trees. Only has an effect with `--verbose`"
125+ "hide locations from intermediate trees. Only has an effect with `--verbose`" ,
126126 ) ;
127127 cmd . forwardOption ( "--no-color" , "disable colored output" ) ;
128128 cmd . forwardOption (
129129 "--no-gc" ,
130- "turn off reference counting garbage collection"
130+ "turn off reference counting garbage collection" ,
131131 ) ;
132132 cmd . forwardOption (
133133 "--no-bulk-memory" ,
134- "polyfill WebAssembly bulk memory instructions"
134+ "polyfill WebAssembly bulk memory instructions" ,
135135 ) ;
136136 cmd . forwardOption (
137137 "--wasi-polyfill <filename>" ,
138- "path to custom WASI implementation"
138+ "path to custom WASI implementation" ,
139139 ) ;
140140 cmd . forwardOption (
141141 "--no-pervasives" ,
142- "don't automatically import the Grain Pervasives module"
142+ "don't automatically import the Grain Pervasives module" ,
143143 ) ;
144144 cmd . forwardOption (
145145 "--memory-base <addr>" ,
146- "set the base address for the Grain heap"
146+ "set the base address for the Grain heap" ,
147147 ) ;
148148 cmd . forwardOption ( "--source-map" , "generate source maps" ) ;
149149 cmd . forwardOption ( "--strict-sequence" , "enable strict sequencing" ) ;
150150 cmd . forwardOption (
151151 "--verbose" ,
152- "print critical information at various stages of compilation"
152+ "print critical information at various stages of compilation" ,
153153 ) ;
154154 return cmd ;
155155 }
@@ -191,11 +191,11 @@ program
191191 . forwardOption ( "-o <filename>" , "output filename" )
192192 . forwardOption (
193193 "--single-file" ,
194- "compile a single file without compiling dependencies"
194+ "compile a single file without compiling dependencies" ,
195195 )
196196 . forwardOption (
197197 "--use-start-section" ,
198- "replaces the _start export with a start section during linking"
198+ "replaces the _start export with a start section during linking" ,
199199 )
200200 . forwardOption ( "--no-link" , "disable static linking" )
201201 . action ( exec . grainc ) ;
@@ -217,7 +217,7 @@ program
217217 . description ( "generate documentation for a grain file" )
218218 . forwardOption (
219219 "--current-version <version>" ,
220- "provide a version to use as current when generating markdown for `@since` and `@history` attributes"
220+ "provide a version to use as current when generating markdown for `@since` and `@history` attributes" ,
221221 )
222222 . forwardOption ( "-o <file|dir>" , "output file or directory" )
223223 . action ( exec . graindoc ) ;
0 commit comments