help fixes

This commit is contained in:
Robin Appelman 2025-11-14 19:02:16 +01:00
commit 766f876230

View file

@ -29,7 +29,7 @@ enum Commands {
#[clap(short, long, default_value = "/etc/netnsd/netnsd")] #[clap(short, long, default_value = "/etc/netnsd/netnsd")]
config: PathBuf, config: PathBuf,
}, },
/// Create the configured namespaces /// Create the configured namespaces and run the configured proxies
Up { Up {
/// Location of the config file /// Location of the config file
#[clap(short, long, default_value = "/etc/netnsd/netnsd")] #[clap(short, long, default_value = "/etc/netnsd/netnsd")]
@ -37,9 +37,9 @@ enum Commands {
}, },
/// Remove all network namespaces created to netnsd /// Remove all network namespaces created to netnsd
Down, Down,
/// Signal a running daemon to reload it's configuration /// Signal a running daemon to reload its configuration
Reload, Reload,
/// Create the configured namespaces /// Run a proxy between two namespaces
Proxy { Proxy {
/// Namespace to proxy connections from, use "parent" to listen in the namespace this command was spawned into /// Namespace to proxy connections from, use "parent" to listen in the namespace this command was spawned into
source_namespace: NamespaceName, source_namespace: NamespaceName,