* xbuild.1: Add info about env var XBUILD_COLORS.
[mono.git] / man / monostyle.1
1 .\"
2 .\" monostyle manual page.
3 .\" (C) Adam Treat (manyoso@yahoo.com)
4 .\"
5 .TH monostyle 1
6 .SH NAME
7 monostyle \- Mono's C# code beautifier.
8 .SH SYNOPSIS
9 .PP
10 .B monostyle
11 -f file.cs -l <true|false> > output.cs
12 .SH DESCRIPTION
13 monostyle will parse a C# source code file and correct brace formatting
14 reflective of the Mono Project's coding standard. To use: invoke monostyle
15 by passing a C# source code file with '-f file.cs' and specify whether to
16 use linespacing with '-l <true|false>.  To output to a file just redirect
17 with '>'.
18 .PP
19 Mono's Coding Standard
20 .PP
21 * The opening brace following a namespace, class, struct, enum, property or
22 flow control unit should be at the end of the declaration line.
23 .PP
24 * The opening brace for a function should be on the line following the function.
25 .PP
26 * Please use white space around operators and a space between function names
27 and their parameters.
28 .SH OPTIONS
29 .TP
30 .I \-\-file
31 The csharp source file to parse.
32 .TP
33 .I \-\-line
34 Specifies wether to use line spacing.
35 .PP
36 .SH AUTHORS
37 Adam Treat (manyoso@yahoo.com)
38 .PP
39 .SH LICENSE
40 MonoStyle is released under the terms of the GNU GPL.
41 .PP
42 .SH SEE ALSO
43 mono(1), mint(1)