File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ class CLIParser {
107107 } ;
108108 break ;
109109 case 'strings' :
110+ if ( options [ name ] ?. length === 1 && options [ name ] [ 0 ] === undefined ) {
111+ options [ name ] = undefined ;
112+ }
110113 parser = ( s : string | string [ ] ) =>
111114 ( Array . isArray ( s ) ? s : s . split ( ',' ) ) . flat ( ) . map ( ( s ) => {
112115 const x = s . trim ( ) ;
@@ -176,12 +179,7 @@ const args = new CLIParser()
176179 'SpacetimeDB module path' ,
177180 str ( './spacetimedb' , 'STDB_MODULE_PATH' ) ,
178181 )
179- . option (
180- '--stdb-module-path <dir>' ,
181- 'SpacetimeDB module path' ,
182- str ( './spacetimedb' , 'STDB_MODULE_PATH' ) ,
183- )
184- . option ( '--stdb-confirmed-reads' , 'Enable confirmed reads' , {
182+ . option ( '--no-stdb-confirmed-reads' , 'Disable confirmed reads' , {
185183 env : 'STDB_CONFIRMED_READS' ,
186184 } )
187185 . option ( '--use-docker' , 'Use docker' , { env : 'USE_DOCKER' } )
You can’t perform that action at this time.
0 commit comments