touch: implement -d --date (our own testsuite needs that)
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 18 Jul 2009 01:41:29 +0000 (03:41 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 18 Jul 2009 01:41:29 +0000 (03:41 +0200)
commit7aca89a7a32a1e560c447952c28a8b1e7fb775fc
treeb988939ee5fc2cf2235847d5f04ba5887b185e05
parent73b71f381d24218cf6368364be723a7b5c9aeda9
touch: implement -d --date (our own testsuite needs that)

function                                             old     new   delta
static.uname_longopts                                  -     137    +137
touch_main                                           231     360    +129
static.touch_longopts                                  -      32     +32
validate_tm_time                                       -      28     +28
packed_usage                                       26616   26624      +8
date_main                                            687     686      -1
static.longopts                                      162       -    -162
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163)          Total: 171 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
12 files changed:
coreutils/date.c
coreutils/touch.c
coreutils/uname.c
include/libbb.h
include/usage.h
libbb/time.c
testsuite/bunzip2.tests
testsuite/bzcat.tests
testsuite/cp/cp-a-files-to-dir
testsuite/mv/mv-files-to-dir
testsuite/mv/mv-refuses-mv-dir-to-subdir
testsuite/runtest