Commit 7a5822e
authored
fix(epp): use real flag names in config-file/config-text error (llm-d#1942)
* fix(epp): use real flag names in config-file/config-text error
The Validate() error for setting --config-file and --config-text together
named the flags "configText" and "configFile", but they are registered as
"config-file" and "config-text". Users could not map the message back to a
flag. Use the registered kebab-case names, matching every other error in
Validate(), and add a regression test asserting both names appear.
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
* fix(epp): use cannot in config flag error
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
---------
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>1 parent 19be01c commit 7a5822e
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
0 commit comments