Use an int for the --shutdown-mode/-m option of legacy-app-handler
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 26 Jul 2012 10:51:35 +0000 (11:51 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 26 Jul 2012 12:45:32 +0000 (13:45 +0100)
commitba6fc0151d7df73489bde0ad579846d849d5e02f
tree1a5a39c4e191f82a66e4224b00432089662cf9f8
parent216a57a8de2976c3750555578ca99bf6fcef2cdb
Use an int for the --shutdown-mode/-m option of legacy-app-handler

This allows to register for multiple modes at the same time, e.g. by
passing in 3 for normal and fast.
legacy-app-handler/main.c