Skip to content

cmd/shfmt: when using -ln=auto, tell the user what language was detected on an error #803

@mvdan

Description

@mvdan

I imagine some people will be confused when upgrading to the changed default if they have any scripts that contain Bash syntax but look like POSIX shell scripts. If the parser error message ends with something like (parsed as posix via -ln=auto), then hopefully that would be less confusing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions