Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib/buy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export function registerBuy(program: Command) {
.description("Place a buy order")
.requiredOption("-t, --type <type>", "Specify the type of node")
.requiredOption("-d, --duration <duration>", "Specify the duration", "1h")
.requiredOption("-p, --price <price>", "Specify a price")
.option("-n, --quantity <quantity>", "Specify quantity")
.option("-s, --start <start>", "Specify a start date")
.requiredOption("-p, --price <price>", "Specify the price")
.option("-n, --nodes <quantity>", "Specify the number of nodes")
.option("-s, --start <start>", "Specify the start date")
.option("-y, --yes", "Automatically confirm the order")
.action(async (options) => {
await placeBuyOrder(options);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function registerSell(program: Command) {
.description("Place a sell order")
.requiredOption("-p, --price <price>", "Specify the price in centicents")
.requiredOption("-c, --contract-id <id>", "Specify the contract ID")
.requiredOption("-q, --quantity <quantity>", "Specify the quantity")
.option("-n, --nodes <quantity>", "Specify the number of nodes")
.requiredOption(
"-s, --start <start>",
"Specify the start time (ISO 8601 format)",
Expand Down