Add function to get the prefix for flag help
Fix switch prefix