From 69b7c2b7bb27e2da27bffa27115f507ae9c57d0e Mon Sep 17 00:00:00 2001 From: tommady Date: Mon, 14 Apr 2025 07:47:46 +0000 Subject: [PATCH] address comments Signed-off-by: tommady --- src/archive/tar.rs | 2 +- src/cli/args.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/archive/tar.rs b/src/archive/tar.rs index 07c9df4..c0d962d 100644 --- a/src/archive/tar.rs +++ b/src/archive/tar.rs @@ -8,7 +8,7 @@ use std::{ thread, }; -use fs_err::{self as fs}; +use fs_err as fs; use same_file::Handle; use crate::{ diff --git a/src/cli/args.rs b/src/cli/args.rs index 6afc847..c72d5d3 100644 --- a/src/cli/args.rs +++ b/src/cli/args.rs @@ -82,8 +82,8 @@ pub enum Subcommand { #[arg(long, group = "compression-level")] slow: bool, - /// Tar and Zip specific: add the symlink target to the archive instead of the symlink itself - #[arg(long)] + /// Archive target files instead of storing symlinks (supported by `tar` and `zip`) + #[arg(long, short = 'S')] follow_symlinks: bool, }, /// Decompresses one or more files, optionally into another folder