format.sh 246 B

123456789101112
  1. #!/bin/bash
  2. # Runs astyle with the full set of formatting options
  3. astyle \
  4. --style=otbs \
  5. --indent=spaces=4 \
  6. --convert-tabs \
  7. --align-pointer=name \
  8. --align-reference=name \
  9. --keep-one-line-statements \
  10. --pad-header \
  11. --pad-oper \
  12. "$@"