[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

invalid options exits 0



Is it intended that if one enters an invalid set of 
options on the rpm command line, that rpm should return 0?
This is certainly the behavior I just observed.

For instance, if one typed:

	rpm qa

It will give the usage and such, but it will exit with 
zero.  Would it not be more correct to have it return a
positive exit code in the event that the commandline
parameters were amiss?

Thanks...james





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []