License and license related flags #1

Merged
cafkafk merged 13 commits from dev into main 2023-06-09 18:36:30 +02:00
Showing only changes of commit 9bbabb9367 - Show all commits

View file

@ -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,