Richard Hansen <[email protected]> writes:
>> I think the convention is to align these:
>>
>> case $opt in
>> force)
>
> The existing case statement in this file indents the patterns the same
> amount as the case statement, so this should be aligned to match.
>
> In general I rarely see the case patterns indented at the same level as
> the case statement,
What you see does not matter in the context of this project ;-)
This is what we have in Documentation/CodingGuidelines:
For shell scripts specifically (not exhaustive):
- Case arms are indented at the same depth as case and esac lines.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html