Skip to content

Commit

Permalink
trs80-tool: Disable unimplemented "mount" command.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkesteloot committed Apr 12, 2024
1 parent 95b4003 commit a7798f6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/trs80-tool/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,17 @@ function main() {
const outfile = files[files.length - 1];
convert(infiles, outfile, baud, start, entryPoints);
});
program
.command("mount <diskfile> [commands...]")
.description("mount a floppy file and perform operations on it", {
diskfile: "JV1, JV3, DMK, or DSK file",
commands: "import FILE [as FILE], export FILE [as FILE], delete FILE, rename FILE to FILE"
})
.action((diskfile, commands, options) => {
mount(diskfile, commands);
});
if (2 > 3) {
program
.command("mount <diskfile> [commands...]")
.description("mount a floppy file and perform operations on it", {
diskfile: "JV1, JV3, DMK, or DSK file",
commands: "import FILE [as FILE], export FILE [as FILE], delete FILE, rename FILE to FILE"
})
.action((diskfile, commands, options) => {
mount(diskfile, commands);
});
}
program
.command("sectors <infiles...>")
.description("show a sector map for each floppy file", {
Expand Down

0 comments on commit a7798f6

Please sign in to comment.