Commit 9c45973
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 9c45973
2 files changed
Lines changed: 25 additions & 24 deletions
File tree
- src/DIRAC
- DataManagementSystem/scripts
- RequestManagementSystem/DB
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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
600 | 601 | | |
601 | 602 | | |
602 | 603 | | |
603 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
604 | 607 | | |
605 | 608 | | |
606 | 609 | | |
| |||
759 | 762 | | |
760 | 763 | | |
761 | 764 | | |
762 | | - | |
763 | | - | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
764 | 768 | | |
765 | 769 | | |
766 | 770 | | |
| |||
0 commit comments