Skip to content

Commit

Permalink
Reintroduce support for version argument e.g. (#806)
Browse files Browse the repository at this point in the history
`czkawka_cli --version`
  • Loading branch information
0x4A6F authored Aug 17, 2022
1 parent 95d1d73 commit e20f30c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion czkawka_cli/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ use czkawka_core::common_dir_traversal::CheckingMethod;
use czkawka_core::duplicate::{DeleteMethod, HashType};
use czkawka_core::same_music::MusicSimilarity;
use czkawka_core::similar_images::SimilarityPreset;
use czkawka_core::CZKAWKA_VERSION;

#[derive(Debug, clap::StructOpt)]
#[clap(name = "czkawka", help_message = HELP_MESSAGE, template = HELP_TEMPLATE)]
#[clap(name = "czkawka", help_message = HELP_MESSAGE, template = HELP_TEMPLATE, version = CZKAWKA_VERSION)]
pub enum Commands {
#[clap(name = "dup", about = "Finds duplicate files", help_message = HELP_MESSAGE, after_help = "EXAMPLE:\n czkawka dup -d /home/rafal -e /home/rafal/Obrazy -m 25 -x 7z rar IMAGE -s hash -f results.txt -D aeo")]
Duplicates {
Expand Down

0 comments on commit e20f30c

Please sign in to comment.