On Fri, Apr 04, 2014 at 12:09:22AM +0200, Jakub Wilk wrote: > * Axel Beckert <a...@debian.org>, 2014-03-31, 15:34: > >>>>So I like the idea of new option. Now the hard part is inventing a > >>>>name for the switch... Do you have any suggestions? > >>>Since adequate only has long options so far, what about "--exit-code" > >>>or even "--also-report-via-exit-code"? > >> > >>Hmm. What do you think about --fatal? > > > >Sounds ok-ish. > > > >If you know what it is for, it fits. But if you'd have to guess by just > >seeing the option, I'm not sure if you guess that it relates to the exit > >code only... > > I'm not very fond of it either. But --exit-code is also not guessable, and > --also-report-via-exit-code is way too long. > > If it's not going to be possible to guess what the option means anyway, and > since we anticipate it'll be often-used, maybe a short option would serve > better? "-e" comes to mind (akin to shell's "-e").
What about --fail? --fail Exit with a non-zero exit code if the package failed at least one check. -- Antonio Terceiro <terce...@debian.org>
signature.asc
Description: Digital signature