Commit 27aaf6e
committed
Minor improvements for reformat_dat_file.pl.
Use Getopt::Long in preference to hand-rolled option parsing code.
Also, remove "-I .../backend/catalog" switch from the Makefile
invocations. That's been unnecessary for some time, and leaving it
there gives the false impression it's needed in manual invocations.
John Naylor (extracted from a larger but more controversial patch)
Discussion: https://postgr.es/m/CACPNZCsHdcQN2jQ1=ptbi1Co2Nj3aHgRCUMk62=ThgWNabPY+Q@mail.gmail.com1 parent e1e0e8d commit 27aaf6e
2 files changed
+16
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
62 | 46 | | |
63 | 47 | | |
64 | | - | |
65 | | - | |
| 48 | + | |
66 | 49 | | |
67 | 50 | | |
68 | 51 | | |
| |||
76 | 59 | | |
77 | 60 | | |
78 | 61 | | |
79 | | - | |
| 62 | + | |
80 | 63 | | |
81 | 64 | | |
82 | 65 | | |
| |||
130 | 113 | | |
131 | 114 | | |
132 | 115 | | |
133 | | - | |
| 116 | + | |
134 | 117 | | |
135 | 118 | | |
136 | 119 | | |
| |||
318 | 301 | | |
319 | 302 | | |
320 | 303 | | |
321 | | - | |
| 304 | + | |
322 | 305 | | |
323 | 306 | | |
324 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
325 | 310 | | |
326 | 311 | | |
327 | 312 | | |
0 commit comments