Forrest logo
back to context overview

uncrustify

List of commands for uncrustify:

  • uncrustify:tldr:04ff0 uncrustify: Generate a new configuration file.
    $ uncrustify --update-config -o ${path-to-new-cfg}
    try on your machine
    explain this command
  • uncrustify:tldr:13e6a uncrustify: Explicitly set a configuration variable's value.
    $ uncrustify --set ${option}=${value}
    try on your machine
    explain this command
  • uncrustify:tldr:5dbce uncrustify: Use a custom configuration file and write the result to `stdout`.
    $ uncrustify -c ${path-to-uncrustify-cfg} -f ${filename-cpp}
    try on your machine
    explain this command
  • uncrustify:tldr:a6aa4 uncrustify: Format a single file.
    $ uncrustify -f ${filename-cpp} -o ${path-to-output-cpp}
    try on your machine
    explain this command
back to context overview