added better error handling for invalid config option in the lan commands
Merge branch 'lan_error_handling' into development