diff --git a/src/cli.rs b/src/cli.rs index 0017246..458882c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -184,20 +184,20 @@ enum Commands { /// CreateOffer creates a BOLT 12 offer. CreateOffer { /// The amount of the offer in millisatoshis. - #[arg(required = false)] + #[arg(long, required = false)] amount: Option, /// The description of the offer. - #[arg(required = false)] + #[arg(long, required = false)] description: Option, /// The issuer of the offer. - #[arg(required = false)] + #[arg(long, required = false)] issuer: Option, /// Relative expiry of the offer in seconds. - #[arg(required = false)] + #[arg(long, required = false)] expiry: Option, /// The quantity of the offer. If 0, unbounded quantity is assumed. If None, /// quantity defaults to 1. - #[arg(required = false)] + #[arg(long, required = false)] quantity: Option, }, }