Document cli args
This commit is contained in:
parent
372a160558
commit
06a9522514
1 changed files with 4 additions and 0 deletions
|
@ -22,11 +22,15 @@ struct Opts {
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
enum Action {
|
enum Action {
|
||||||
Upload {
|
Upload {
|
||||||
|
/// The OmegaUpload instance to upload data to.
|
||||||
url: Url,
|
url: Url,
|
||||||
|
/// Encrypt the uploaded paste with the provided password, preventing
|
||||||
|
/// public access.
|
||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
password: Option<SecretString>,
|
password: Option<SecretString>,
|
||||||
},
|
},
|
||||||
Download {
|
Download {
|
||||||
|
/// The paste to download.
|
||||||
url: ParsedUrl,
|
url: ParsedUrl,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue