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:
Christina Sørensen 2023-06-09 16:24:04 +02:00
parent 661b730c44
commit 9bbabb9367
Signed by: cafkafk
GPG key ID: CDDC792F655251ED

View file

@ -46,11 +46,15 @@ pub struct Args {
#[arg(short, long, default_value_t = home_dir() + CONFIG_FILE)]
pub config: String,
/// Print full-text license information
/// Print license information
#[arg(long)]
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)]
pub code_of_conduct: bool,