@@ -103,16 +103,16 @@ struct Main: ParsableCommand {
103
103
var clangdOptions = [ String] ( )
104
104
105
105
@Option (
106
- name: . customLong( " index-store-path " , withSingleDash: true ) ,
106
+ name: [ . long , . customLong( " index-store-path " , withSingleDash: true ) ] ,
107
107
help: " Override index-store-path from the build system "
108
108
)
109
109
var indexStorePath : AbsolutePath ?
110
110
111
111
@Option (
112
- name: . customLong( " index-db-path " , withSingleDash: true ) ,
112
+ name: [ . long , . customLong( " index-db-path " , withSingleDash: true ) ] ,
113
113
help: " Override index-database-path from the build system "
114
114
)
115
- var indexDatabasePath : AbsolutePath ?
115
+ var indexDBPath : AbsolutePath ?
116
116
117
117
@Option (
118
118
help: " Whether to enable server-side filtering in code-completion "
@@ -135,7 +135,7 @@ struct Main: ParsableCommand {
135
135
serverOptions. buildSetup. flags. swiftCompilerFlags = buildFlagsSwift
136
136
serverOptions. clangdOptions = clangdOptions
137
137
serverOptions. indexOptions. indexStorePath = indexStorePath
138
- serverOptions. indexOptions. indexDatabasePath = indexDatabasePath
138
+ serverOptions. indexOptions. indexDatabasePath = indexDBPath
139
139
serverOptions. completionOptions. serverSideFiltering = completionServerSideFiltering
140
140
serverOptions. completionOptions. maxResults = completionMaxResults
141
141
0 commit comments