File: astyle.html

package info (click to toggle)
astyle 1.11.5-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 308 kB
  • ctags: 410
  • sloc: cpp: 2,975; makefile: 51; sh: 2
file content (1096 lines) | stat: -rw-r--r-- 57,969 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Artistic Style</title>
</head>

<body bgcolor="#FFFFFF">

<h1 align="center"><font color="#0000A0" size="7"><i>Artistic
Style 1.11.5</i></font></h1>

<h3 align="center"><font size="5">A </font><a href="license.html"><font
size="5">Free</font></a><font size="5">, Fast and Small Automatic
Indentation Filter<br>
for </font><font color="#0000A0" size="5">C</font><font
color="#000000" size="5"> ,</font><font color="#0000A0" size="5">
C++ </font><font color="#000000" size="5">,</font><font
color="#0000A0" size="5"> Java</font><font size="5"> Source Codes</font></h3>

<h3 align="center"><font size="3">by </font><a
href="http://www.bigfoot.com/~davidsont"><font size="3">Tal
Davidson</font></a><font size="3">, Israel (E-mail: </font><a
href="mailto:davidsont@bigfoot.com"><font size="3">davidsont@bigfoot.com</font></a><font
size="3">)</font></h3>

<blockquote>
    <h3 align="center"><font size="3">(Main home page - </font><a
    href="http://www.bigfoot.com/~davidsont/astyle"><font
    size="3">http://www.bigfoot.com/~davidsont/astyle</font></a><font
    size="3">)</font></h3>
    <p>&nbsp;</p>
</blockquote>

<p><font color="#000000" size="3">Artistic Style is a <b>reindenter
and reformatter</b> of <b>C++, C and Java </b>source code.</font>
</p>

<p><font color="#000000" size="3">When indenting source code, we
as programmers have a tendency to use both <b>spaces</b> and <b>tab</b>
characters to create the wanted indentation. Moreover, some
editors by default insert spaces instead of tabs when pressing
the tab key, and other editors (Emacs for example) have the
ability to &quot;pretty up&quot; lines by automatically setting
up the white space before the code on the line, possibly
inserting spaces in a code that up to now used only tabs for
indentation</font><font size="4">.</font> </p>

<p><font size="3">Since the <b>NUMBER</b> of space characters
showed on screen for each tab character in the source code
changes between editors (until the user sets up the number to his
liking...), </font><font color="#000000" size="3"><b>one of the
standard problems facing programmers when moving from one source
code editor to another</b> is that code containing both spaces
and tabs that was up to now perfectly indented, suddently becomes
a mess to look at when changing to another editor. Even if you as
a programmer take care to ONLY use spaces or tabs, looking at
other peoples source code can still be problematic.</font> </p>

<p align="left"><font color="#000000" size="3">To address this
problem I have created Artistic Style - a series of filters,
written in <b>C++</b>, that automatically reindent &amp; reformat
C/C++/Java source files. These can be used from a <b>command line</b>,
or it can be <b>incorporated as classes in another C++ program</b>.</font>
<br>
&nbsp; </p>

<h3 align="center"><font color="#FF0000">Check out </font><a
href="http://www.bigfoot.com/~davidsont/jstyle"><font
color="#FF0000">jstyle</font></a><font color="#FF0000"> - <b>the
Java styling filters on which Artistic Style is based.</b></font></h3>

<p>&nbsp; </p>

<h3>Download:</h3>

<ul>
    <li><h3>Latest <a
        href="http://www.bigfoot.com/~davidsont/astyle/stable/src">Stable
        sources</a></h3>
    </li>
    <li><h3>Latest <a
        href="http://www.bigfoot.com/~davidsont/astyle/stable/bin">Stable
        binaries</a> (currently available for <font
        color="#FF0000">linux-x86-glibc</font> , <font
        color="#FF0000">Win-32</font>)</h3>
    </li>
    <li><h3>Latest <a
        href="http://www.bigfoot.com/~davidsont/astyle/development">Development
        sources</a></h3>
    </li>
</ul>

<p>&nbsp;</p>

<h3>Read <a href="astyle_release_notes.html">Release Notes</a></h3>

<p>&nbsp; </p>

<h3>Read <a href="license.html">License</a></h3>

<blockquote>
    <p>Artistic Style may be used and&nbsp; distributed under
    EITHER the <font size="4"><b>Artistic License</b></font> or
    the <font size="4"><b>GNU General Public License (GPL)</b></font>.
    <br>
    &nbsp;</p>
</blockquote>

<h3><font color="#000000" size="4">To use from the command line:</font></h3>

<blockquote>
    <p><font color="#000000" size="3">1) Unzip astyle.zip and
    compile 'astyle' (read README.txt for instructions).</font> </p>
    <p><font color="#000000" size="3">2) Either place the
    resulting executable file's directory in your PATH
    system-variable, or move the executable to a directory that
    appears in your PATH system-variable.</font> </p>
    <p><font color="#000000" size="3">3) Run it with the
    following syntax:</font> </p>
    <blockquote>
        <p><font color="#800080" size="3" face="Times New Roman"><b><tt>astyle
        </tt></b></font><font color="#000080" size="3"
        face="Times New Roman"><b><tt>[options] </tt></b></font><font
        color="#FF0000" size="5" face="Times New Roman"><b><tt>&lt;</tt></b></font><font
        color="#800080" size="3" face="Times New Roman"><b><tt>
        OriginalSourceFile </tt></b></font><font color="#FF0000"
        size="5" face="Times New Roman"><b><tt>&gt;</tt></b></font><font
        color="#800080" size="3" face="Times New Roman"><b><tt>
        BeautifiedSourceFile</tt></b></font> </p>
        <blockquote>
            <p><font size="4"><b>OR</b></font></p>
        </blockquote>
        <p><font color="#800080" size="3" face="Times New Roman"><b><tt>astyle
        </tt></b></font><font color="#000080" size="3"
        face="Times New Roman"><b><tt>[options] </tt></b></font><font
        color="#800080" size="3" face="Times New Roman"><b><tt>Foo.java
        Bar.javaAnotherBar.java</tt></b></font><font
        color="#000080" size="3" face="Times New Roman"><b><tt> [
        . . . ]</tt></b></font> </p>
        <p><font color="#000000" size="3">The </font><font
        color="#FF0000" size="5"><b>&lt;</b></font><font
        color="#000000" size="3"> and</font><font color="#FF0000"
        size="5"><b> &gt;</b></font><font color="#000000"
        size="3"> characters are used to redirect the files into
        standard input and out of standard output - don't forget
        them!!!</font> <br>
        &nbsp; </p>
        <p><font color="#330000" size="3">The newly indented file
        </font><font color="#FF0000" size="3"><strong>RETAINS the
        original file name</strong></font><font color="#330000"
        size="3">, while a copy of the original file is created
        with a &quot;</font><font color="#FF0000" size="3"><strong>.orig</strong></font><font
        color="#330000" size="3">&quot; appended to the original
        file name.</font><font size="2"> </font><font
        color="#330000" size="3">Thus, after indenting </font><font
        color="#800080" size="3"><strong>Foo.java</strong></font><font
        color="#330000" size="3"> as above, the indented result
        will be named </font><font color="#993399" size="3"><strong>Foo.java</strong></font><font
        color="#330000" size="3">, while the original
        pre-indented file will be renamed to </font><font
        color="#993399" size="3"><strong>Foo.java.orig</strong> </font><font
        color="#330000" size="3">.</font></p>
    </blockquote>
</blockquote>

<h3><font color="#000000" size="4">Options:</font></h3>

<blockquote>
    <p><font size="3">Not specifying any option will bring to
    C/C++ style indentation, with a default of 4 spaces per
    indent, and NO formatting.</font><font size="2"> </font></p>
    <p><font color="#000000" size="4"><strong>Options may be
    written in two different ways:</strong></font></p>
    <ol>
        <li><strong>Long options:</strong><p>These options start
            with '<font color="#FF0000"><strong>--</strong></font>',
            and <font color="#FF0000"><strong>must be written one
            at a time</strong></font><br>
            (e.g. <font color="#000080" size="3"
            face="Times New Roman"><strong>--brackets=attach</strong></font><font
            size="2"><b>&nbsp;</b></font><font color="#000080"
            size="3" face="Times New Roman"><strong>--pad</strong></font><font
            size="2"><b>&nbsp;</b></font><font color="#000080"
            size="3" face="Times New Roman"><strong>--indent=spaces=4</strong></font>
            ).</p>
        </li>
        <li><strong>Short Options:</strong><p>These options start
            with a single '<font color="#FF0000"><strong>-</strong></font>',
            and <font color="#FF0000" size="3"><strong>may be
            appended together</strong></font><font size="4">.</font><br>
            Thus, writing <font color="#000080" size="3"
            face="Times New Roman"><strong>-bps4</strong></font>
            is the same as writing <font color="#000080" size="4"
            face="Times New Roman"><strong>-</strong></font><font
            color="#000080" size="3" face="Times New Roman"><strong>b</strong></font><font
            size="2"><b>&nbsp;-</b></font><font color="#000080"
            size="3" face="Times New Roman"><strong>p</strong></font><font
            size="2"><b>&nbsp;-</b></font><font color="#000080"
            size="3" face="Times New Roman"><strong>s4</strong></font><font
            color="#000080"><strong> </strong></font><font
            color="#400040" size="2" face="Courier New">.<br>
            </font></p>
        </li>
    </ol>
    <p><font color="#000000" size="4"><strong>A </strong></font><font
    color="#FF0000" size="4"><strong>default options file</strong></font><font
    color="#000000" size="4"><strong> may be used to define
    default options:</strong></font></p>
    <ul>
        <li><font color="#000000" size="3">Artistic Style looks
            for the default options file in the following order: <br>
            1. The value of the the system variable </font><font
            color="#000080" size="3"><strong>ARTISTIC_STYLE_OPTIONS</strong></font><font
            color="#000000" size="3"> if one exists.<br>
            2. The file named <strong>.astylerc</strong> in the
            directory pointed to by the </font><font
            color="#000080" size="3"><strong>HOME</strong></font><font
            color="#000000" size="3"> system variable (i.e. </font><font
            color="#000080" size="3"><strong>$PATH</strong></font><font
            color="#000000" size="3"><strong>/.astylerc</strong>)<br>
            3. The file named <strong>.astylerc</strong> in the
            directory pointed to by the </font><font
            color="#000080" size="3"><strong>HOMEPATH</strong></font><font
            color="#000000" size="3"> system variable (i.e. </font><font
            color="#000080" size="3"><strong>%HOMEPATH%</strong></font><font
            color="#000000" size="3"><strong>\.astylerc</strong>)</font></li>
    </ul>
    <ul>
        <li><font color="#000000" size="3">Options may be set
            apart by new-lines, tabs or spaces.</font></li>
        <li><font color="#000000" size="3">Long options <strong>may
            be written in the options file without the preceding
            '--'</strong>.</font></li>
        <li><font color="#000000" size="3">Lines within the
            options file that begin with '</font><font
            color="#FF0000" size="3"><strong>#</strong></font><font
            color="#000000" size="3">' are considered <strong>line-comments</strong>.<br>
            </font></li>
        <li><font color="#000000" size="3">Example contents of a
            default options file:</font><blockquote>
                <p><font color="#FF0000" size="3"
                face="Times New Roman"><tt># default parsing is
                of java files</tt></font><font color="#800080"
                size="3" face="Times New Roman"><tt><br>
                mode=java<br>
                </tt></font><font color="#FF0000" size="3"
                face="Times New Roman"><tt># brackets should be
                attached to pre-bracket lines</tt></font><font
                color="#800080" size="3" face="Times New Roman"><tt><br>
                brackets=attach<br>
                </tt></font><font color="#FF0000" size="3"
                face="Times New Roman"><tt># set 6 spaces per
                indent</tt></font><font color="#800080" size="3"
                face="Times New Roman"><tt><br>
                indent=spaces=6<br>
                </tt></font><font color="#FF0000" size="3"
                face="Times New Roman"><tt># indent switch blocks</tt></font><font
                color="#800080" size="3" face="Times New Roman"><tt><br>
                indent-switches</tt></font><font color="#000000"
                size="3"><br>
                </font><font color="#FF0000" size="3"
                face="Times New Roman"><tt># suffix of original
                files should be .pre</tt></font><font
                color="#000000" size="3" face="Times New Roman"><tt><br>
                </tt></font><font color="#800080" size="3"
                face="Times New Roman"><tt>suffix=.pre<br>
                </tt></font></p>
            </blockquote>
        </li>
    </ul>
    <p><font color="#000000" size="4">The following </font><font
    color="#000099" size="4"><b>predefined style</b></font><font
    color="#000000" size="4"><b> options</b> are currently
    avaiable:</font></p>
    <blockquote>
        <p><font color="#000080" size="3"><strong>--style=ansi</strong></font><font
        color="#000000" size="3"><br>
        </font>ANSI style formatting/indenting.</p>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; int Foo()<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isBar)<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; bar();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 1;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 0;<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080"><strong>--style=kr</strong></font><br>
        Kernighan&amp;Ritchie style formatting/indenting.</p>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace</tt></b></font><font color="#FF0000"
            size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; int Foo()</tt></b></font><font
            color="#FF0000" size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isBar)</tt></b></font><font
            color="#FF0000" size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; bar();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 1;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt> else<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 0;<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080"><strong>--style=linux</strong></font><br>
        Linux style formatting/indenting (brackets are broken
        apart from class/function declarations, but connected to
        command lines, and indents are set to 8 spaces).</p>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; int Foo()<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isBar)</tt></b></font><font
            color="#FF0000" size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; bar();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            return 1;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt> else </tt></b></font><font
            color="#800080" size="3"><b><tt> <br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            return 0;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080"><strong>--style=gnu</strong></font><br>
        GNU style formatting/indenting.</p>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace<br>
            &nbsp; </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; int Foo()<br>
            &nbsp;&nbsp;&nbsp; &nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isBar)<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; bar();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 1;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;return 0;<br>
            &nbsp;&nbsp;&nbsp; &nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080"><strong>--style=java</strong></font><br>
        Java style formatting/indenting.</p>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>class
            foospace</tt></b></font><font color="#FF0000"
            size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; int Foo()</tt></b></font><font
            color="#FF0000" size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isBar)</tt></b></font><font
            color="#FF0000" size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; bar();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 1;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt> else<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 0;<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
    </blockquote>
    <p><font color="#000000" size="4">The following </font><font
    color="#000099" size="4"><b>indentation</b></font><font
    color="#000000" size="4"><b> options</b> are currently
    available:</font></p>
</blockquote>

<blockquote>
    <blockquote>
        <p><font color="#000080" size="3"><b>-c</b></font><font
        color="#000080" size="4"><b> </b></font><font size="3">OR
        </font><font color="#000080" size="3"><strong>--mode=c</strong></font><font
        size="3"><br>
        Indent a C or C++ file.</font><font size="2"> </font></p>
        <p><font color="#000080" size="3"><b>-j</b></font><font
        size="3"> OR </font><font color="#000080" size="3"><strong>--mode=java</strong></font><font
        size="3"><br>
        Indent a Java file.</font><font size="2"> </font></p>
        <p><font color="#000080" size="4"><b>-t</b></font><font
        size="3"> OR </font><font color="#000080" size="3"><strong>--indent=tab</strong></font><font
        size="3"><br>
        Indent using a tab characters.</font> </p>
        <p><font color="#000080" size="4"><b>-s</b></font><font
        color="#FF0000" size="4"><b>#</b></font><font size="3">
        OR </font><font color="#000080" size="3"><strong>--indent=spaces=</strong></font><font
        color="#FF0000" size="3"><strong>#</strong></font><font
        size="3"><br>
        Indent using </font><font color="#FF0000" size="3">#</font><font
        size="3"> spaces per indent (e.g. </font><font size="4"><b>-s</b></font><font
        color="#FF0000" size="3"><b>4</b></font><font size="3">
        OR <strong>--indent=spaces=</strong></font><font
        color="#FF0000" size="3"><strong>4</strong></font><font
        size="3">).</font> </p>
        <p><font color="#000080" size="4"><b>-C</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-classes</b></font><font
        size="2"><br>
        </font><font size="3">Indent 'class' blocks so that the
        headers 'public:', 'protected:' and 'private:' are
        indented in the class block.</font></p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
        </blockquote>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>class Foo<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            public:<br>
            &nbsp;&nbsp;&nbsp; Foo();<br>
            &nbsp;&nbsp;&nbsp; virtual ~Foo();<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt>;</tt></b></font></p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#800080" size="3"><b><tt>class Foo<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; public:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Foo();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; virtual ~Foo();<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt>;</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-S</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-switches</b></font><font
        size="2"><br>
        </font><font size="3">Indent 'switch' blocks so that the
        'case XXX:' headers are indented in the class block.</font></p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
        </blockquote>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>switch (foo)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            case 1:<br>
            &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp; break;<br>
            <br>
            default:<br>
            &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp; break;<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#800080" size="3"><b><tt>switch (foo)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; case 1:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
            <br>
            &nbsp;&nbsp;&nbsp; default:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-K</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-cases</b></font><font
        size="2"><br>
        </font><font size="3">Indent 'case XXX:' lines so that they are flush
        with the comand lines under them.</font></p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
        </blockquote>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>switch (foo)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            case 1:<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{<br>
            </tt></b></font><font
            color="#800080" size="3"><b><tt>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}<br>
            </tt></b></font><font
            color="#800080" size="3"><b><tt>
            <br>
            default:<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{<br>
            </tt></b></font><font
            color="#800080" size="3"><b><tt>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#800080" size="3"><b><tt>switch (foo)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; case 1:<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{<br>
            </tt></b></font><font
            color="#800080" size="3"><b><tt>
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; break;<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}<br>
            </tt></b></font><font
            color="#800080" size="3"><b><tt>
            <br>
            &nbsp;&nbsp;&nbsp; default:<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{<br>
            </tt></b></font><font
            color="#800080" size="3"><b><tt>
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; a += 2;<br>
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; break;<br>
            &nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-B</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-brackets</b></font><font
        size="3"><br>
        Add extra indentation to brackets.</font> </p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>{</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>bar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>else</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>{</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>anotherBar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font> <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>bar();</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font> <br>
            <font color="#993399" size="3"><b><tt>else</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font> <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>anotherBar();</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-G</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-blocks</b></font><font
        size="3"><br>
        Add extra indentation to entire blocks.</font> </p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>{</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>bar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>else</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>anotherBar();</tt></b></font>
            </p>
            <p>becomes:</p>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font> <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>bar();</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font> <br>
            <font color="#993399" size="3"><b><tt>else</tt></b></font>
            <font size="3" face="Courier New"><b><tt><br>
            </tt></b></font><font size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            </tt></b></font><font color="#993399" size="3"><b><tt>anotherBar();</tt></b></font>
            </p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-N</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-namespaces</b></font><font
        size="2"><br>
        </font><font size="3">Add extra indentation to
        namespaces.</font> </p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
        </blockquote>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            class Foo<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; public:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Foo();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; virtual ~Foo();<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt>;<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; class Foo<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; public:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; Foo();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; virtual ~Foo();<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt>;<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p>&nbsp;</p>
        <p><font color="#000080" size="4"><b>-L</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b> --</b></font><font
        color="#000080" size="3"><b>indent-labels</b></font><font
        size="2"><br>
        </font><font size="3">Add extra indentation to labels so they they appear 1 indent less than the current
        indentation, rather than being flushed to the left (the
        default).</font> </p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
        </blockquote>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>int
            foospace()<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; while (isFoo)<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{<br>
            </tt></b></font><font color="#800080" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; ...</tt></b></font><font
            color="#FF0000" size="3"><b><tt><br>
            </tt></b></font><font color="#800080" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; goto error;<br>
            <br>
            error:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#800080" size="3"><b><tt>int
            foospace()<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; while (isFoo)<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{<br>
            </tt></b></font><font color="#800080" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; ...</tt></b></font><font
            color="#FF0000" size="3"><b><tt><br>
            </tt></b></font><font color="#800080" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; goto error;<br>
            <br>
            &nbsp;&nbsp;&nbsp; error:<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="3"><b>-M</b></font><font
        color="#FF0000" size="4"><b>#</b></font><font size="3">
        OR </font><font color="#000080" size="3"><b>--max-instatement-indent=</b></font><font
        color="#FF0000" size="3"><b>#</b></font><font
        color="#000080" size="4"><b> <br>
        </b></font>Indent a maximal <font color="#FF0000">#</font>
        spaces in a continuous statement, relatively to the
        previous line (e.g. <strong>--max-instatement-indent=</strong><font
        color="#FF0000" size="3"><strong>40</strong></font>) </p>
        <p><font color="#000080" size="4"><b>-m</b></font><font
        color="#FF0000" size="4"><b>#</b></font><font
        size="3"> OR</font><b> <font color="#000080" size="4"> --</font><font color="#000080" size="3">min-conditional</font></b><font color="#000080" size="3"><b>-indent=</b></font><font
        color="#FF0000" size="3"><b>#</b></font><font
        size="2"><br>
        </font><font size="3">Set the minimal indent that is added when a header
        is built of multiple-lines. This indent makes helps to easily separate
        the header from the command statements that follow. The default setting
        for this option is <font color="#FF0000">twice the current indent</font>.
        </font> (e.g. <strong>--min-conditional-indent=<font color="#FF0000" size="3">8</font></strong>) </p>
        <blockquote>
            <p><font color="#330000" size="3">The default:</font></p>
        </blockquote>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>// default setting makes
            this non-bracketed code clear<br>
            if (a &lt; b<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || c &gt; d)<br>
            &nbsp;&nbsp;&nbsp; foo++;<br>
            <br>
            // but creates an exaggerated indent in this bracketed code<br>
            if (a &lt; b<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || c &gt; d)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; foo++;<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font color="#330000" size="3">When setting <b>--min-conditional=0</b>
            :</font></p>
            <p><font color="#800080" size="3"><b><tt>// setting makes this
            non-bracketed code less clear<br>
            if (a &lt; b<br>
            &nbsp;&nbsp;&nbsp; || c &gt; d)<br>
            &nbsp;&nbsp;&nbsp; foo++;<br>
            <br>
            // but makes this bracketed code prettier<br>
            if (a &lt; b<br>
            &nbsp;&nbsp;&nbsp; || c &gt; d)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; foo++;<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-E</b></font><font
        size="3"> OR</font><b> <font color="#000080" size="4"> --</font><font color="#000080" size="3">fill-empty-lines</font></b><font
        size="2"><br>
        </font><font size="3">Fill empty lines with the white space of their
        previous lines.</font> </p>
    </blockquote>
    <h3><font color="#000000" size="4">The following </font><font
    color="#000099" size="4">formatting</font><font
    color="#000000" size="4"><b> options</b> are currently
    available:</font></h3>
    <blockquote>
        <p><font color="#000080" size="3"><b>-b</b></font><font
        size="3"> OR </font><font color="#000080" size="3"><strong>--brackets=break</strong></font><font
        size="3"><br>
        Break brackets&nbsp; from their pre-block statements (
        i.e. ANSI C, C++ style ).</font> </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>{</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>bar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>else</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>{</tt></b></font>
            <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#993399" size="3"><b><tt>anotherBar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="3"><b>-a</b></font><font
        size="3"> OR </font><font color="#000080" size="3"><strong>--brackets=attach</strong></font><font
        size="3"><br>
        Attach brackets to their pre-block statements ( i.e. Java
        , K&amp;R style ).</font> </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font> <br>
            <font size="3"><b><tt>&nbsp;&nbsp;</tt></b></font><font
            color="#993399" size="3"><b><tt>&nbsp; bar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            size="3"><b><tt> </tt></b></font><font
            color="#993399" size="3"><b><tt>else </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font> <br>
            <font size="3"><b><tt>&nbsp;&nbsp;&nbsp;</tt></b></font><font
            color="#993399" size="3"><b><tt> anotherBar();</tt></b></font>
            <br>
            <font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="3"><b>-l</b></font><font
        size="3"> OR </font><font color="#000080" size="3"><strong>--brackets=linux</strong></font><font
        size="3"><br>
        </font>Break brackets from class/function declarations,
        but attach brackets to <font size="3">pre-block </font>command
        statements.</p>
        <blockquote>
            <p><font color="#800080" size="3"><b><tt>namespace
            foospace<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; int Foo()<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isBar)</tt></b></font><font
            color="#FF0000" size="3"><b><tt> {</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; bar();<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp; return 1;<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt> else<br>
            &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp; return 0;<br>
            &nbsp;&nbsp;&nbsp; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font><font
            color="#800080" size="3"><b><tt><br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="3"><b>-p </b></font><font
        color="#000000" size="3">OR</font><font color="#000080"
        size="3"><b> --pad=oper</b></font><font size="2"><br>
        </font><font size="3">Insert space padding around
        operators only.</font> </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            a = bar((b-c)*a,*d--);</tt></b></font> </p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            a = bar((b - c) * a, *d--);</tt></b></font></p>
        </blockquote>
        <p>&nbsp;</p>
        <p><font color="#000080" size="3"><b>--pad=paren</b></font><font
        size="2"><br>
        </font><font size="3">Insert space padding around parenthesies only.</font> </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            a = bar((b-c)*a,*d--);</tt></b></font> </p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#993399" size="3"><b><tt>if ( isFoo )</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            a = bar( ( b-c )*a, *d-- );</tt></b></font></p>
        </blockquote>
        <p>&nbsp;</p>
        <p><font color="#000080" size="3"><b>-P </b></font><font
        color="#000000" size="3">OR</font><font color="#000080"
        size="3"><b> --pad=all</b></font><font size="2"><br>
        </font><font size="3">Insert space padding around
        operators <strong>AND</strong>  parenthesies.</font> </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            a = bar((b-c)*a,*d--);</tt></b></font> </p>
            <p><font color="#330000" size="3">becomes:</font> </p>
            <p><font color="#993399" size="3"><b><tt>if ( isFoo )</tt></b></font>
            <br>
            <font color="#993399" size="3"><b><tt>&nbsp;&nbsp;&nbsp;
            a = bar( ( b - c ) * a, *d-- );</tt></b></font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-o</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b>  </b></font><strong><font color="#000099">--one-line=keep-statements</font></strong><font
        size="2"><br>
        </font><font size="3">Don't break multiple statements residing in a
        single line.</font>
        </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#993399" size="3"><b><tt> &nbsp;<br>
            &nbsp;&nbsp;&nbsp; isFoo = false; cout
            &lt;&lt; isFoo &lt;&lt; endl;<br>
 </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font size="3">remains as is.</font></p>
        </blockquote>
        <p><font color="#000080" size="4"><b>-O</b></font><font
        size="3"> OR</font><font color="#000080" size="4"><b>  </b></font><strong><font color="#000099">--one-line=keep-blocks</font></strong><font
        size="2"><br>
        </font><font size="3">Don't break one-line blocks.</font>
        </p>
        <blockquote>
            <p><font color="#993399" size="3"><b><tt>if (isFoo)<br>
            </tt></b></font><font color="#FF0000" size="3"><b><tt>{</tt></b></font><font
            color="#993399" size="3"><b><tt> isFoo = false; cout
            &lt;&lt; isFoo &lt;&lt; endl; </tt></b></font><font
            color="#FF0000" size="3"><b><tt>}</tt></b></font></p>
            <p><font size="3">remains as is.</font></p>
        </blockquote>
    </blockquote>
    <h3><font color="#000000" size="4">The following </font><font
    color="#000099" size="4">other</font><font color="#000000"
    size="4"><b> options</b> are currently avaiable:</font></h3>
    <blockquote>
        <p><font color="#000080"><strong>--suffix=</strong></font><font
        color="#FF0000"><strong>####</strong></font><br>
        Append the suffix <font color="#FF0000"><strong>####</strong></font>
        instead of '<strong>.orig</strong>' to original filename.
        (e.g. <strong>--suffix=</strong><font color="#FF0000"><strong>.prev</strong></font>)
        </p>
        <p><font color="#000080" size="4"><b>-X</b></font><font
        size="3"> OR </font><font color="#000080"><strong>--errors-to-standard-output</strong></font><br>
        Print errors and help information to standard-output
        rather than to standard-error.<br>
        This option should be helpful for systems/shells that do
        not have this option, such as in Windows-95.</p>
        <p><font color="#000080"><strong>-v</strong></font> OR <font
        color="#000080"><strong>--version</strong></font><br>
        Print version number.</p>
        <p><font color="#000080"><strong>-h</strong></font> OR <font
        color="#000080"><strong>-?</strong></font> OR <font
        color="#000080"><strong>--help</strong></font><br>
        Print a help message and quit.</p>
    </blockquote>
    <blockquote>
        <p>&nbsp;</p>
    </blockquote>
</blockquote>

<h3><font size="4">Comments, Questions, Bugs and Ideas for
Improvement:</font></h3>

<blockquote>
    <h3><a name="contact"></a>Contact:</h3>
    <ul>
        <li>Use&nbsp; <font size="4"><b>Artistic Style's </b></font><font
            color="#FF0000" size="4"><b>Mailing List</b></font>: <ul>
                <li><font size="4"><b>To subscribe:</b></font></li>
                <li><br>
                    send e-mail to&nbsp; <a
                    href="mailto:Majordomo@lists.microstate.com">Majordomo@lists.microstate.com</a>
                    with the words <font color="#FF0000" size="4"><b><tt>subscribe
                    artistic-style</tt></b></font> in the <font
                    color="#993399"><b>body</b></font> of the
                    message. <br>
                    &nbsp; </li>
                <li><font size="4"><b>To send e-mail to the
                    mailing list (after subscribing):</b></font></li>
                <li><br>
                    send your email to <a
                    href="mailto:artistic-style@lists.microstate.com">artistic-style@lists.microstate.com</a>
                    <br>
                    &nbsp; </li>
                <li><font size="4"><b>To unsubscribe:</b></font></li>
                <li><br>
                    send e-mail to&nbsp; <a
                    href="mailto:Majordomo@lists.microstate.com">Majordomo@lists.microstate.com</a>
                    with the words <font color="#FF0000" size="4"><b><tt>unsubscribe
                    artistic-style</tt></b></font> in the <font
                    color="#993399"><b>body</b></font> of the
                    message.</li>
            </ul>
        </li>
    </ul>
</blockquote>

<blockquote>
    <blockquote>
        <p><font size="3">Or, reach me directly at </font><a
        href="mailto:davidsont@bigfoot.com"><font size="3">davidsont@bigfoot.com</font></a></p>
    </blockquote>
    <h3>Bugs:</h3>
    <blockquote>
        <p>If you find a bug, <font size="4"><b>please </b></font><a
        href="#contact"><font size="4"><b>send</b></font></a><font
        size="4"><b> a bug-report</b></font> including an example
        source code that generates the bug, and I will try to fix
        it as fast as possible. </p>
        <p>If you find a bug and find a fix for it in the source
        code, <font size="4"><b>please </b></font><a
        href="#contact"><font size="4"><b>send</b></font></a><font
        size="4"><b> a bug-report</b></font> together with an
        example source-code that generates the bug PLUS the
        corrected ASBeautifier.java file, so that I can learn
        from it and publish it. <br>
        &nbsp;</p>
    </blockquote>
</blockquote>

<h3>Acknowledgements:</h3>

<blockquote>
    <p><font size="4">-<b>Special thanks</b> to: </font><font
    color="#000099" size="4"><b>Jim Watson, Fred Shwartz, W.
    Nathaniel Mills III, Danny Deschenes, Andre Houde, Richard
    Bullington</b></font><font size="4"> for their patches and
    contributions to Artistic Style !!!</font> </p>
    <p><font size="4">-<b>Special thanks</b> to </font><font
    color="#000099" size="4"><b>Richard Bullington and </b></font><a
    href="http://www.microstate.com"><font color="#000099"
    size="4"><b>MicroState</b></font></a><font size="4"> for
    giving Artistic Style its </font><font color="#FF0000"
    size="4">mailing-list</font><font size="4"> !!!</font> </p>
    <p><font size="4">-<b>Thanks</b> to all the dedicated
    beta-testers and bug notifiers !!!</font> </p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
</blockquote>

<h1 align="center"><font color="#0000A0">ENJOY !!!</font></h1>
</body>
</html>