diff --git a/src/lib/buy.ts b/src/lib/buy.ts index fc127d5b..c1aa5682 100644 --- a/src/lib/buy.ts +++ b/src/lib/buy.ts @@ -24,9 +24,9 @@ export function registerBuy(program: Command) { .description("Place a buy order") .requiredOption("-t, --type ", "Specify the type of node") .requiredOption("-d, --duration ", "Specify the duration", "1h") - .requiredOption("-p, --price ", "Specify a price") - .option("-n, --quantity ", "Specify quantity") - .option("-s, --start ", "Specify a start date") + .requiredOption("-p, --price ", "Specify the price") + .option("-n, --nodes ", "Specify the number of nodes") + .option("-s, --start ", "Specify the start date") .option("-y, --yes", "Automatically confirm the order") .action(async (options) => { await placeBuyOrder(options); diff --git a/src/lib/sell.ts b/src/lib/sell.ts index 2b32255f..f296ff5a 100644 --- a/src/lib/sell.ts +++ b/src/lib/sell.ts @@ -12,7 +12,7 @@ export function registerSell(program: Command) { .description("Place a sell order") .requiredOption("-p, --price ", "Specify the price in centicents") .requiredOption("-c, --contract-id ", "Specify the contract ID") - .requiredOption("-q, --quantity ", "Specify the quantity") + .option("-n, --nodes ", "Specify the number of nodes") .requiredOption( "-s, --start ", "Specify the start time (ISO 8601 format)",