diff --git a/src/options.rs b/src/options.rs index 7f77d4ff69..352127f87f 100644 --- a/src/options.rs +++ b/src/options.rs @@ -8,20 +8,20 @@ use { pub(crate) struct Options { #[clap( long, - help = "Limit the ordinal index to bytes. [mainnet, testnet, and signet default: 1 TiB, regtest default: 10 MiB]" + help = "Limit the ordinal index to bytes. This cannot be changed later. [mainnet, testnet, and signet default: 1 TiB, regtest default: 10 MiB]" )] max_index_size: Option, - #[clap(long)] + #[clap(long, help = "Load Bitcoin Core RPC cookie file from .")] cookie_file: Option, - #[clap(long)] + #[clap(long, help = "Connect to Bitcoin Core RPC at .")] rpc_url: Option, - #[clap(long, arg_enum, default_value = "mainnet")] + #[clap(long, arg_enum, default_value = "mainnet", help = "Index .")] pub(crate) chain: Chain, - #[clap(long)] + #[clap(long, help = "Store index in .")] data_dir: Option, - #[clap(long)] + #[clap(long, help = "Load Bitcoin Core data dir from .")] bitcoin_data_dir: Option, - #[clap(long)] + #[clap(long, help = "Limit index to blocks.")] pub(crate) height_limit: Option, } diff --git a/src/subcommand/find.rs b/src/subcommand/find.rs index fee0c3c7cb..e94c937ca8 100644 --- a/src/subcommand/find.rs +++ b/src/subcommand/find.rs @@ -2,6 +2,7 @@ use super::*; #[derive(Debug, Parser)] pub(crate) struct Find { + #[clap(help = "Find output and offset of .")] ordinal: Ordinal, } diff --git a/src/subcommand/list.rs b/src/subcommand/list.rs index 73840abdac..b4a862f3fb 100644 --- a/src/subcommand/list.rs +++ b/src/subcommand/list.rs @@ -2,6 +2,7 @@ use super::*; #[derive(Debug, Parser)] pub(crate) struct List { + #[clap(help = "List ordinal ranges in .")] outpoint: OutPoint, } diff --git a/src/subcommand/parse.rs b/src/subcommand/parse.rs index 201f445bf6..aa0325f2d0 100644 --- a/src/subcommand/parse.rs +++ b/src/subcommand/parse.rs @@ -2,6 +2,7 @@ use super::*; #[derive(Debug, Parser)] pub(crate) struct Parse { + #[clap(help = "Parse .")] ordinal: Ordinal, } diff --git a/src/subcommand/range.rs b/src/subcommand/range.rs index 07c3c75389..df575cfb4c 100644 --- a/src/subcommand/range.rs +++ b/src/subcommand/range.rs @@ -2,8 +2,9 @@ use super::*; #[derive(Debug, Parser)] pub(crate) struct Range { - #[clap(long)] + #[clap(long, help = "Display range as names.")] name: bool, + #[clap(help = "List ordinal range in subsidy at .")] height: Height, } diff --git a/src/subcommand/traits.rs b/src/subcommand/traits.rs index 01d4be8d89..5db47b4650 100644 --- a/src/subcommand/traits.rs +++ b/src/subcommand/traits.rs @@ -2,6 +2,7 @@ use super::*; #[derive(Debug, Parser)] pub(crate) struct Traits { + #[clap(help = "Show traits for .")] ordinal: Ordinal, }