[patch coreutils/ touch.c] fix help
walter harms
wharms at bfs.de
Mon Dec 12 08:12:36 UTC 2011
Am 10.12.2011 20:05, schrieb Alexander Kriegisch:
> Any chance to get the -t/-d options as configurable ones?
Hi Alexander,
technical this is not a major problem but your will have to talk to
VDA as he is the maintainer. And to be far in his position i would
think hard to support this. The reason is very simple lets assume
that you add 2 config option here and for all other applets (ca. 300+)
that would create a flood of 600+ config options way to much.
to have a chance you need an use case please explain to the ml why
you need that particular option. there is a good change that we can
suggest an alternative way.
re,
wh
> --
> Alexander Kriegisch (kriegaex)
> http://freetz.org
>
> walter harms, 10.12.2011 15:20:
>> The help text did not mention -t -- fixed
>> the BB_AUDIT SUSv3 noted -r and -t as missing -- fixed
>>
>> Signed-off-by: wharms <wharms at bfs.de>
>>
>> diff --git a/coreutils/touch.c b/coreutils/touch.c
>> index 0f980fd..d370fb4 100644
>> --- a/coreutils/touch.c
>> +++ b/coreutils/touch.c
>> @@ -7,7 +7,7 @@
>> * Licensed under GPLv2 or later, see file LICENSE in this source tree.
>> */
>>
>> -/* BB_AUDIT SUSv3 _NOT_ compliant -- options -a, -m, -r, -t not supported. */
>> +/* BB_AUDIT SUSv3 _NOT_ compliant -- options -a, -m not supported. */
>> /* http://www.opengroup.org/onlinepubs/007904975/utilities/touch.html */
>>
>> /* Mar 16, 2003 Manuel Novoa III (mjn3 at codepoet.org)
>> @@ -36,8 +36,9 @@
>> //usage: "Update the last-modified date on the given FILE[s]\n"
>> //usage: "\n -c Don't create files"
>> //usage: IF_DESKTOP(
>> -//usage: "\n -d DT Date/time to use"
>> +//usage: "\n -d STRING Date/time to use"
>> //usage: "\n -r FILE Use FILE's date/time"
>> +//usage: "\n -t [[CC]YY]MMDDhhmm[.ss] instead of current time"
>> //usage: )
>> //usage:
>> //usage:#define touch_example_usage
>> _______________________________________________
>> busybox mailing list
>> busybox at busybox.net
>> http://lists.busybox.net/mailman/listinfo/busybox
>>
>
More information about the busybox
mailing list