mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 14:13:25 +00:00
touch: ignore -f like everyone else.
I assume it's actually meaningful on BSD/macOS and makes them behave like us, but I don't have access to a Mac to test that theory.
This commit is contained in:
parent
9fb36217ce
commit
d54fac979e
@ -3,8 +3,11 @@
|
||||
* Copyright 2012 Choubey Ji <warior.linux@gmail.com>
|
||||
*
|
||||
* See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html
|
||||
*
|
||||
* -f is ignored for BSD/macOS compatibility. busybox/coreutils also support
|
||||
* this, but only coreutils documents it in --help output.
|
||||
|
||||
USE_TOUCH(NEWTOY(touch, "<1acd:mr:t:h[!dtr]", TOYFLAG_BIN))
|
||||
USE_TOUCH(NEWTOY(touch, "<1acd:fmr:t:h[!dtr]", TOYFLAG_BIN))
|
||||
|
||||
config TOUCH
|
||||
bool "touch"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user