[PATCH 3/3] touch: add --time=what option

Xabier Oneca -- xOneca xoneca at gmail.com
Mon Apr 12 21:48:52 UTC 2021


Hi all,

> This option is the long version of -a and -m.
>
> function                                             old     new   delta
> touch_main                                           484     553     +69
> .rodata                                           103649  103681     +32
> static.touch_longopts                                 49      56      +7
> ------------------------------------------------------------------------------
> (add/remove: 0/0 grow/shrink: 3/0 up/down: 108/0)             Total: 108 bytes

The rationale behind this patch was that this was the only long option
that remained unimplemented.

But I feel that this patch is too fat for the marginal gains (who does
really use --time instead of -a/-m?!).

Maybe can be enclosed in #if EXTRA_COMPAT? Or if it does not find love
from anyone, it can be dropped.

Cheers,

Xabier Oneca_,,_


More information about the busybox mailing list