Added --warranty flag, typos
Added the --warranty flag. Removed part of docstring that said the --license would give full-text. This is wrong, as will be implementing the shorter notice. Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
661b730c44
commit
9bbabb9367
1 changed files with 6 additions and 2 deletions
|
@ -46,11 +46,15 @@ pub struct Args {
|
||||||
#[arg(short, long, default_value_t = home_dir() + CONFIG_FILE)]
|
#[arg(short, long, default_value_t = home_dir() + CONFIG_FILE)]
|
||||||
pub config: String,
|
pub config: String,
|
||||||
|
|
||||||
/// Print full-text license information
|
/// Print license information
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub license: bool,
|
pub license: bool,
|
||||||
|
|
||||||
/// Print full-text code-of-conduct (not implemented)
|
/// Print warranty information
|
||||||
|
#[arg(long)]
|
||||||
|
pub warranty: bool,
|
||||||
|
|
||||||
|
/// Print code-of-conduct information (not implemented)
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub code_of_conduct: bool,
|
pub code_of_conduct: bool,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue