@@ -64,7 +64,10 @@ extension CommandConfig {
64
64
let servers = argExtractor. extractFlag ( named: OptionsAndFlags . servers. rawValue)
65
65
let noServers = argExtractor. extractFlag ( named: OptionsAndFlags . noServers. rawValue)
66
66
if servers > 0 && noServers > 0 {
67
- throw CommandPluginError . conflictingFlags ( OptionsAndFlags . servers. rawValue, OptionsAndFlags . noServers. rawValue)
67
+ throw CommandPluginError . conflictingFlags (
68
+ OptionsAndFlags . servers. rawValue,
69
+ OptionsAndFlags . noServers. rawValue
70
+ )
68
71
} else if servers > 0 {
69
72
config. common. servers = true
70
73
} else if noServers > 0 {
@@ -78,7 +81,10 @@ extension CommandConfig {
78
81
let clients = argExtractor. extractFlag ( named: OptionsAndFlags . clients. rawValue)
79
82
let noClients = argExtractor. extractFlag ( named: OptionsAndFlags . noClients. rawValue)
80
83
if clients > 0 && noClients > 0 {
81
- throw CommandPluginError . conflictingFlags ( OptionsAndFlags . clients. rawValue, OptionsAndFlags . noClients. rawValue)
84
+ throw CommandPluginError . conflictingFlags (
85
+ OptionsAndFlags . clients. rawValue,
86
+ OptionsAndFlags . noClients. rawValue
87
+ )
82
88
} else if clients > 0 {
83
89
config. common. clients = true
84
90
} else if noClients > 0 {
@@ -92,7 +98,10 @@ extension CommandConfig {
92
98
let messages = argExtractor. extractFlag ( named: OptionsAndFlags . messages. rawValue)
93
99
let noMessages = argExtractor. extractFlag ( named: OptionsAndFlags . noMessages. rawValue)
94
100
if messages > 0 && noMessages > 0 {
95
- throw CommandPluginError . conflictingFlags ( OptionsAndFlags . messages. rawValue, OptionsAndFlags . noMessages. rawValue)
101
+ throw CommandPluginError . conflictingFlags (
102
+ OptionsAndFlags . messages. rawValue,
103
+ OptionsAndFlags . noMessages. rawValue
104
+ )
96
105
} else if messages > 0 {
97
106
config. common. messages = true
98
107
} else if noMessages > 0 {
@@ -124,7 +133,9 @@ extension CommandConfig {
124
133
config. common. protocPath = argExtractor. extractSingleOption ( named: flag. rawValue)
125
134
126
135
case . outputPath:
127
- config. common. outputPath = argExtractor. extractSingleOption ( named: flag. rawValue) ?? pluginWorkDirectory. absoluteStringNoScheme
136
+ config. common. outputPath =
137
+ argExtractor. extractSingleOption ( named: flag. rawValue)
138
+ ?? pluginWorkDirectory. absoluteStringNoScheme
128
139
129
140
case . verbose:
130
141
let verbose = argExtractor. extractFlag ( named: flag. rawValue)
0 commit comments