Commit 9ab00cd
authored
addbib: raise error for bad option (#1046)
* As with other scripts in bin/, treat getopts() failure as a fatal error (show usage and exit)
* Don't suppress Getopt warnings, so the user sees feedback on which option was incorrect1 parent a62c1fa commit 9ab00cd
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
| 265 | + | |
270 | 266 | | |
271 | 267 | | |
272 | 268 | | |
| |||
0 commit comments