Skip to content

Commit 83432be

Browse files
authored
Merge pull request #822 from davidgiven/config
Overhaul the config file CLI.
2 parents 51fa7c9 + 979b550 commit 83432be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+358
-348
lines changed

build.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
("acorndfs", "", "--200"),
2929
("agat", "", ""),
3030
("amiga", "", ""),
31-
("apple2", "", "--140 40track_drive"),
31+
("apple2", "", "--140 --drivetype=40"),
3232
("atarist", "", "--360"),
3333
("atarist", "", "--370"),
3434
("atarist", "", "--400"),
@@ -38,17 +38,17 @@
3838
("atarist", "", "--800"),
3939
("atarist", "", "--820"),
4040
("bk", "", ""),
41-
("brother", "", "--120 40track_drive"),
41+
("brother", "", "--120 --drivetype=40"),
4242
("brother", "", "--240"),
4343
(
4444
"commodore",
4545
"scripts/commodore1541_test.textpb",
46-
"--171 40track_drive",
46+
"--171 --drivetype=40",
4747
),
4848
(
4949
"commodore",
5050
"scripts/commodore1541_test.textpb",
51-
"--192 40track_drive",
51+
"--192 --drivetype=40",
5252
),
5353
("commodore", "", "--800"),
5454
("commodore", "", "--1620"),
@@ -60,17 +60,17 @@
6060
("ibm", "", "--1232"),
6161
("ibm", "", "--1440"),
6262
("ibm", "", "--1680"),
63-
("ibm", "", "--180 40track_drive"),
64-
("ibm", "", "--160 40track_drive"),
65-
("ibm", "", "--320 40track_drive"),
66-
("ibm", "", "--360 40track_drive"),
63+
("ibm", "", "--180 --drivetype=40"),
64+
("ibm", "", "--160 --drivetype=40"),
65+
("ibm", "", "--320 --drivetype=40"),
66+
("ibm", "", "--360 --drivetype=40"),
6767
("ibm", "", "--720_96"),
6868
("ibm", "", "--720_135"),
6969
("mac", "scripts/mac400_test.textpb", "--400"),
7070
("mac", "scripts/mac800_test.textpb", "--800"),
7171
("n88basic", "", ""),
7272
("rx50", "", ""),
73-
("tartu", "", "--390 40track_drive"),
73+
("tartu", "", "--390 --drivetype=40"),
7474
("tartu", "", "--780"),
7575
("tids990", "", ""),
7676
("victor9k", "", "--612"),

doc/disk-acornadfs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ they might require nudging as the side order can't be reliably autodetected.
3131

3232
To read:
3333

34-
- `fluxengine read acornadfs --160 -s drive:0 -o acornadfs.img`
35-
- `fluxengine read acornadfs --320 -s drive:0 -o acornadfs.img`
36-
- `fluxengine read acornadfs --640 -s drive:0 -o acornadfs.img`
37-
- `fluxengine read acornadfs --800 -s drive:0 -o acornadfs.img`
38-
- `fluxengine read acornadfs --1600 -s drive:0 -o acornadfs.img`
34+
- `fluxengine read -c acornadfs --160 -s drive:0 -o acornadfs.img`
35+
- `fluxengine read -c acornadfs --320 -s drive:0 -o acornadfs.img`
36+
- `fluxengine read -c acornadfs --640 -s drive:0 -o acornadfs.img`
37+
- `fluxengine read -c acornadfs --800 -s drive:0 -o acornadfs.img`
38+
- `fluxengine read -c acornadfs --1600 -s drive:0 -o acornadfs.img`
3939

doc/disk-acorndfs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ requires a bit of fiddling as they have the same tracks on twice.
2424

2525
To read:
2626

27-
- `fluxengine read acorndfs --100 -s drive:0 -o acorndfs.img`
28-
- `fluxengine read acorndfs --200 -s drive:0 -o acorndfs.img`
27+
- `fluxengine read -c acorndfs --100 -s drive:0 -o acorndfs.img`
28+
- `fluxengine read -c acorndfs --200 -s drive:0 -o acorndfs.img`
2929

3030
To write:
3131

32-
- `fluxengine write acorndfs --100 -d drive:0 -i acorndfs.img`
33-
- `fluxengine write acorndfs --200 -d drive:0 -i acorndfs.img`
32+
- `fluxengine write -c acorndfs --100 -d drive:0 -i acorndfs.img`
33+
- `fluxengine write -c acorndfs --200 -d drive:0 -i acorndfs.img`
3434

3535
## References
3636

doc/disk-aeslanier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ based on what looks right. If anyone knows _anything_ about these disks,
3737

3838
To read:
3939

40-
- `fluxengine read aeslanier -s drive:0 -o aeslanier.img`
40+
- `fluxengine read -c aeslanier -s drive:0 -o aeslanier.img`
4141

4242
## References
4343

doc/disk-agat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ profile.
2020

2121
To read:
2222

23-
- `fluxengine read agat -s drive:0 -o agat.img`
23+
- `fluxengine read -c agat -s drive:0 -o agat.img`
2424

2525
To write:
2626

27-
- `fluxengine write agat -d drive:0 -i agat.img`
27+
- `fluxengine write -c agat -d drive:0 -i agat.img`
2828

2929
## References
3030

doc/disk-amiga.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ distinctly subpar and not particularly good at detecting errors.
2626

2727
To read:
2828

29-
- `fluxengine read amiga -s drive:0 -o amiga.adf`
29+
- `fluxengine read -c amiga -s drive:0 -o amiga.adf`
3030

3131
To write:
3232

33-
- `fluxengine write amiga -d drive:0 -i amiga.adf`
33+
- `fluxengine write -c amiga -d drive:0 -i amiga.adf`
3434

3535
## References
3636

doc/disk-ampro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ kayinfo.lbr
4343

4444
To read:
4545

46-
- `fluxengine read ampro --400 -s drive:0 -o ampro.img`
47-
- `fluxengine read ampro --800 -s drive:0 -o ampro.img`
46+
- `fluxengine read -c ampro --400 -s drive:0 -o ampro.img`
47+
- `fluxengine read -c ampro --800 -s drive:0 -o ampro.img`
4848

4949
## References
5050

doc/disk-apple2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ volume.
5858

5959
To read:
6060

61-
- `fluxengine read apple2 --140 -s drive:0 -o apple2.img`
62-
- `fluxengine read apple2 --640 -s drive:0 -o apple2.img`
61+
- `fluxengine read -c apple2 --140 -s drive:0 -o apple2.img`
62+
- `fluxengine read -c apple2 --640 -s drive:0 -o apple2.img`
6363

6464
To write:
6565

66-
- `fluxengine write apple2 --140 -d drive:0 -i apple2.img`
67-
- `fluxengine write apple2 --640 -d drive:0 -i apple2.img`
66+
- `fluxengine write -c apple2 --140 -d drive:0 -i apple2.img`
67+
- `fluxengine write -c apple2 --640 -d drive:0 -i apple2.img`
6868

6969
## References
7070

doc/disk-atarist.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@ Be aware that many PC drives (including mine) won't do the 82 track formats.
2929

3030
To read:
3131

32-
- `fluxengine read atarist --360 -s drive:0 -o atarist.img`
33-
- `fluxengine read atarist --370 -s drive:0 -o atarist.img`
34-
- `fluxengine read atarist --400 -s drive:0 -o atarist.img`
35-
- `fluxengine read atarist --410 -s drive:0 -o atarist.img`
36-
- `fluxengine read atarist --720 -s drive:0 -o atarist.img`
37-
- `fluxengine read atarist --740 -s drive:0 -o atarist.img`
38-
- `fluxengine read atarist --800 -s drive:0 -o atarist.img`
39-
- `fluxengine read atarist --820 -s drive:0 -o atarist.img`
32+
- `fluxengine read -c atarist --360 -s drive:0 -o atarist.img`
33+
- `fluxengine read -c atarist --370 -s drive:0 -o atarist.img`
34+
- `fluxengine read -c atarist --400 -s drive:0 -o atarist.img`
35+
- `fluxengine read -c atarist --410 -s drive:0 -o atarist.img`
36+
- `fluxengine read -c atarist --720 -s drive:0 -o atarist.img`
37+
- `fluxengine read -c atarist --740 -s drive:0 -o atarist.img`
38+
- `fluxengine read -c atarist --800 -s drive:0 -o atarist.img`
39+
- `fluxengine read -c atarist --820 -s drive:0 -o atarist.img`
4040

4141
To write:
4242

43-
- `fluxengine write atarist --360 -d drive:0 -i atarist.img`
44-
- `fluxengine write atarist --370 -d drive:0 -i atarist.img`
45-
- `fluxengine write atarist --400 -d drive:0 -i atarist.img`
46-
- `fluxengine write atarist --410 -d drive:0 -i atarist.img`
47-
- `fluxengine write atarist --720 -d drive:0 -i atarist.img`
48-
- `fluxengine write atarist --740 -d drive:0 -i atarist.img`
49-
- `fluxengine write atarist --800 -d drive:0 -i atarist.img`
50-
- `fluxengine write atarist --820 -d drive:0 -i atarist.img`
43+
- `fluxengine write -c atarist --360 -d drive:0 -i atarist.img`
44+
- `fluxengine write -c atarist --370 -d drive:0 -i atarist.img`
45+
- `fluxengine write -c atarist --400 -d drive:0 -i atarist.img`
46+
- `fluxengine write -c atarist --410 -d drive:0 -i atarist.img`
47+
- `fluxengine write -c atarist --720 -d drive:0 -i atarist.img`
48+
- `fluxengine write -c atarist --740 -d drive:0 -i atarist.img`
49+
- `fluxengine write -c atarist --800 -d drive:0 -i atarist.img`
50+
- `fluxengine write -c atarist --820 -d drive:0 -i atarist.img`
5151

5252
## References
5353

doc/disk-bk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ on what was available at the time, with the same format on both.
2222

2323
To read:
2424

25-
- `fluxengine read bk -s drive:0 -o bk800.img`
25+
- `fluxengine read -c bk -s drive:0 -o bk800.img`
2626

2727
To write:
2828

29-
- `fluxengine write bk -d drive:0 -i bk800.img`
29+
- `fluxengine write -c bk -d drive:0 -i bk800.img`
3030

0 commit comments

Comments
 (0)