Mark Adams 6eb01409da Fix validate_reload by returning the validated value (#1378)
* Fix validate_reload by returning the validated value

When '--reload=RELOADER_TYPE' was implemented, `validate_reload()` was
added but in one of the last refactorings, it lost the return statement
at the end of the function. As a result, the '--reload' config value was
totally broken.

This resolves the issue by adding the missing return.

* Fix tests by changing --reload to always require an argument

- '--reload' always requires an argument now
- Added 'auto' as the default value for '--reload'
2016-10-28 08:35:24 +02:00
..
2012-10-18 18:12:14 +02:00
2014-09-10 09:52:12 -04:00
2016-07-16 12:21:27 -07:00
2015-01-30 22:29:33 +02:00
2014-06-13 14:26:57 +03:00
2014-12-01 07:08:38 +02:00
2016-09-11 11:56:29 +03:00
2015-08-25 10:55:50 +05:30
2016-06-23 21:35:04 +08:00