diff --git a/commands/spec.ts b/commands/spec.ts index 01bc59e..7df89bb 100644 --- a/commands/spec.ts +++ b/commands/spec.ts @@ -1,6 +1,6 @@ import { optFlag, undefList } from "./common" -interface SPECOptions { +export interface RunCPUOptions { /** * Config file, used for compiling flags, compiler versions, etc. */ @@ -51,7 +51,7 @@ interface SPECOptions { | "text")[]; } -export function runcpuOptions(o: SPECOptions): string[] { +export function runcpuOptions(o: RunCPUOptions): string[] { return [ ...optFlag("-c", o.config), ...optFlag("-i", o.workload),