-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
65 lines (43 loc) · 2.04 KB
/
README
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
RPGLEFMT(1) General Commands Manual RPGLEFMT(1)
NAME
rpglefmt - Format Free Form ILE RPG programs
SYNOPSIS
rpglefmt [OPTION]... [FILE]...
DESCRIPTION
Format Free Form ILE RPG programs.
-d align declaration specifications that are grouped together
-dd like -d but consider empty lines as part of a declaration group
-i indent
the initial indentation in spaces. If omitted seven spaces will
be used unless the first line in the input starts with **FREE or
if -I is used.
This option overrides -u
-I support IceBreak extensions, see ICEBREAK below
-p count parenthesis and indent with one shiftwidth for each open
parenthesis
-pp like -p but if the line is broken after the first argument to a
procedure, then the next line is aligned with the first argument
-r preserve the relative indentation between multi line strings.
If the first line is indented four and the second six, then sec-
ond will end up being indented two spaces more
-s width
the size in spaces for a indent
-u use the indentaion from the first input line, useful when used
on part of a file, eg. as the equalprg in vim
This option overrides -i
-h show help and exit
-v display version information
ICEBREAK
When rpglefmt is compiled with FEAT_ICEBREAK, then the command line
option -I can be used which enabled specific handling of IceBreak
extensions.
Supported extensions are:
o C-style multi line comments
o IceBreak expression strings
AUTHOR
Written by Andreas Louv <andreas@louv.dk>
REPORTING BUGS
Use the GitHub bug tracker <https://github.com/andlrc/rpglefmt/issues/>
SEE ALSO
rpglectags(1), rpgledoc(1)
2018 January RPGLEFMT(1)