less: document -S flag and make it independently configurable
authorRon Yorston <rmy@frippery.org>
Sun, 19 Jul 2015 10:12:29 +0000 (11:12 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 19 Jul 2015 20:34:13 +0000 (22:34 +0200)
commit51aa861843002e92b605be840460e7141d4d86a2
treebf374b3a4748e8e597990f5dd619522f5778c9a7
parent072fc60f29ee3a4ff38f095a9ef149b2e820c8c0
less: document -S flag and make it independently configurable

The -S flag, to cause long lines to be truncated, was enabled by
FEATURE_LESS_DASHCMD.  This is non-obvious and -S is useful even
if the '-' command isn't enabled.

function                                             old     new   delta
.rodata                                           156045  156077     +32
packed_usage                                       30223   30244     +21
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 53/0)               Total: 53 bytes

Signed-off-by: Ron Yorston <rmy@frippery.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/less.c