The format command reformats a WDL file (and optionally all its dependencies as well) according to style rules. The default formatter uses the DNAnexus WDL style. The format command is highly opinionated, and thus there are no options for adjusting the style - to do so, you have to write your own custom formatter.