Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/uu/touch/src/touch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ pub mod options {
pub static NO_CREATE: &str = "no-create";
pub static NO_DEREF: &str = "no-dereference";
pub static TIME: &str = "time";
pub static FORCE: &str = "force";
}

static ARG_FILES: &str = "files";
Expand Down Expand Up @@ -287,6 +288,13 @@ pub fn uu_app() -> Command {
.value_name("STRING")
.conflicts_with(options::sources::TIMESTAMP),
)
.arg(
Arg::new(options::FORCE)
.short('f')
.long("force")
.help("(ignored)")
.action(ArgAction::SetTrue),
)
.arg(
Arg::new(options::MODIFICATION)
.short('m')
Expand Down
Loading