Dynamically generate help message for documentation