Commit 2cf43ec
fix: consolidate dirac-dms-add-file help into single Usage/Arguments blocks
The module docstring used two 'Usage:' / 'Arguments:' blocks separated by
'**OR**'. LocalConfiguration.setUsageMessage only keeps the FIRST match of
each block (re.search), so the second invocation form and the LocalFile
argument were dropped from both the --help output and the generated docs.
Merge both invocation forms into one Usage block and all arguments into one
Arguments block so nothing is lost.
Closes #7290
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a1dc25d commit 2cf43ec
1 file changed
Lines changed: 12 additions & 15 deletions
Lines changed: 12 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 9 | + | |
| 10 | + | |
19 | 11 | | |
20 | 12 | | |
| 13 | + | |
21 | 14 | | |
22 | 15 | | |
23 | 16 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
| |||
0 commit comments