Files
fluxengine/src/fe-seek.cc
2020-01-12 01:23:47 +01:00

26 lines
447 B
C++

#include "globals.h"
#include "flags.h"
#include "usb.h"
#include "protocol.h"
static FlagGroup flags;
static IntFlag drive(
{ "--drive", "-d" },
"drive to use",
0);
static IntFlag track(
{ "--track", "-t" },
"track to seek to",
0);
int mainSeek(int argc, const char* argv[])
{
flags.parseFlags(argc, argv);
usbSetDrive(drive, false, F_INDEX_REAL);
usbSeek(track);
return 0;
}