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)]
|
||||
enum Action {
|
||||
Upload {
|
||||
/// The OmegaUpload instance to upload data to.
|
||||
url: Url,
|
||||
/// Encrypt the uploaded paste with the provided password, preventing
|
||||
/// public access.
|
||||
#[clap(short, long)]
|
||||
password: Option<SecretString>,
|
||||
},
|
||||
Download {
|
||||
/// The paste to download.
|
||||
url: ParsedUrl,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue