summaryrefslogtreecommitdiff
path: root/crates/arti/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/arti/src')
-rw-r--r--crates/arti/src/subcommands/hsc.rs2
-rw-r--r--crates/arti/src/subcommands/hss.rs4
-rw-r--r--crates/arti/src/subcommands/keys.rs1
-rw-r--r--crates/arti/src/subcommands/raw.rs1
4 files changed, 7 insertions, 1 deletions
diff --git a/crates/arti/src/subcommands/hsc.rs b/crates/arti/src/subcommands/hsc.rs
index f988c0a47..3a499cdc8 100644
--- a/crates/arti/src/subcommands/hsc.rs
+++ b/crates/arti/src/subcommands/hsc.rs
@@ -28,6 +28,7 @@ pub(crate) enum HscSubcommands {
Hsc(HscSubcommand),
}
+/// The `hsc` subcommand.
#[derive(Debug, Subcommand)]
pub(crate) enum HscSubcommand {
/// Prepare a service discovery key for connecting
@@ -49,6 +50,7 @@ pub(crate) enum HscSubcommand {
CTorMigrate(CTorMigrateArgs),
}
+/// The `hsc-key` subcommand.
#[derive(Debug, Subcommand)]
pub(crate) enum KeySubcommand {
/// Get or generate a hidden service client key
diff --git a/crates/arti/src/subcommands/hss.rs b/crates/arti/src/subcommands/hss.rs
index f7b95f883..a5842fda7 100644
--- a/crates/arti/src/subcommands/hss.rs
+++ b/crates/arti/src/subcommands/hss.rs
@@ -25,17 +25,19 @@ pub(crate) enum HssSubcommands {
Hss(Hss),
}
+/// The `hss` subcommand and args.
#[derive(Debug, Parser)]
pub(crate) struct Hss {
/// Arguments shared by all hss subcommands.
#[command(flatten)]
common: CommonArgs,
- /// Return the identity key for the specified service.
+ /// The `hss` subcommand to run.
#[command(subcommand)]
command: HssSubcommand,
}
+/// The `hss` subcommand.
#[derive(Subcommand, Debug, Clone)]
pub(crate) enum HssSubcommand {
/// Print the .onion address of a hidden service
diff --git a/crates/arti/src/subcommands/keys.rs b/crates/arti/src/subcommands/keys.rs
index 677086182..eaf6d043e 100644
--- a/crates/arti/src/subcommands/keys.rs
+++ b/crates/arti/src/subcommands/keys.rs
@@ -33,6 +33,7 @@ pub(crate) enum KeysSubcommands {
Keys(KeysSubcommand),
}
+/// The `keys` subcommand.
#[derive(Subcommand, Debug, Clone)]
pub(crate) enum KeysSubcommand {
/// List keys and certificates.
diff --git a/crates/arti/src/subcommands/raw.rs b/crates/arti/src/subcommands/raw.rs
index d2fd30273..943bbd320 100644
--- a/crates/arti/src/subcommands/raw.rs
+++ b/crates/arti/src/subcommands/raw.rs
@@ -17,6 +17,7 @@ pub(crate) enum RawSubcommands {
KeysRaw(RawSubcommand),
}
+/// The `keys-raw` subcommand.
#[derive(Subcommand, Debug, Clone)]
pub(crate) enum RawSubcommand {
/// Remove keystore entry by raw ID.