« Previous | Next » 

Revision f93427cd

IDf93427cdde4b201478cff147b197bb12f8221362

Added by Iustin Pop over 14 years ago

daemons: handle arguments correctly and uniformly

Of all daemons, only rapi did abort when given argument. None of our
daemons use any arguments, but they accepted them blindly. This is a
very bad experience for the user.

This patch adds checking and exiting in all daemons, in a uniform way.
One other option would have been to add a flag to GenericMain
(noargs=True).

Signed-off-by: Iustin Pop <>
Reviewed-by: Olivier Tharan <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences