💾 Archived View for freeshell.de › tldr › indent.gmi captured on 2022-06-11 at 22:01:15. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

indent

Change the appearance of a C/C++ program by inserting or deleting whitespace.

More information.

indent --linux-style {path/to/source.c} {path/to/another_source.c}
indent --gnu-style {path/to/source.c} -o {path/to/indented_source.c}
indent --k-and-r-style --indent-level3 --no-tabs --line-length120 {path/to/source.c} -o {path/to/indented_source.c}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY