<%=@error.message%>: <% case @error.type 
when :no_input_given%>
Specify the input file or directory with the option `--input PATH`.
<% when :no_mixed_inputs%>
Using both the `--input/-i` options and extra input parameters is not allowed.
Use either only `--input/-i` options or only input parameters.
<% when :multiple_input_files_only %>
When specifying multiple inputs, only files are allowed. '<%= @error.data %>' is a directory.
<% when :unknown_option %>
See `pandocomatic --help` which options are allowed.
<% when :too_many_options %>
<%= @error.data.join(" ") %>.
<% when :problematic_invocation %>
<%=@error.error.message%>.
<% when :cannot_use_stdout_with_directory %>
Using `--stdout/-s` with an input directory is not allowed.
<% when :cannot_use_template_with_directory %>
Using `--template/-t` with an input directory is not allowed.
<% when :cannot_use_both_output_and_stdout %>
Using both `--output/-o` and `--stdout/-s` is not allowed.
Use eiter a specific output file or directory, or standard out, not both.
<% when :feature_toggle_does_not_exist %>
'<%= @error.data %>'. 
Pandocomatic supports the following feature toggles: <%= Pandocomatic::FEATURES.map{|f| f.to_s}.join(", ") %>.
<% else %>
'<%= @error.data %>'.
<% end %>
