parlink.sh: exit upon wrong argument message

Former-commit-id: cc6436497e23372d3fb4ac25970fab4b648e49e5
This commit is contained in:
mollusk 2019-09-13 19:55:18 -07:00
parent c6b6059750
commit ab855b4679

View File

@ -84,12 +84,13 @@ set_video_driver(){
else else
echo -e "${LRED}Accepted Options:\n echo -e "${LRED}Accepted Options:\n
intel-old : (uses i965 driver) intel-old : (uses i965 driver)
intel-modern : (uses iHD driver) intel-modern : (uses iHD driver)
nvidia : (uses vdpau driver) nvidia : (uses vdpau driver)
nouveau : (uses nouveau driver) nouveau : (uses nouveau driver)
radeon: (uses the radeonsi driver) radeon: (uses the radeonsi driver)
catalyst: (uses fglx driver)${NC}" catalyst: (uses fglx driver)${NC}"
exit 1
fi fi
} }