Commit be5b43f
authored
Passing `--format exe` would fail, complaining that the "arch" `exe`
is not supported. Copy-paste mistakes from "arch" to "format" aside,
the `"exe"` string wasn't in the match arm.
Realistically, as we are already utilizing `clap`, we should remove
all this error-prone (proven by this example) open-coding of broken
parsers and utilize their derives to automatically generate conversion
functions.
This should at the same time assist us in generating help files, as the
hardcoded documentation for `--format` currently states that `exe` is a
supported value.
1 parent b71d6fa commit be5b43f
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
0 commit comments