setconsole: much better help text
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Aug 2017 15:36:41 +0000 (17:36 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Aug 2017 15:36:41 +0000 (17:36 +0200)
commit316d38e25883c68e51533029dbab059ae0731de8
tree454fad72308b008793266ae3a8ec7a8611223b41
parent1a1203ff8909efc003bb6bf679a6afd6628dc179
setconsole: much better help text

Was:

    Usage: setconsole [-r] [DEVICE]

    Redirect system console output to DEVICE (default: /dev/tty)

        -r Reset output to /dev/console

Now:

    Usage: setconsole [-r] [DEVICE]

    Make writes to /dev/console appear on DEVICE (default: /dev/tty).
    Does not redirect kernel log output or reads from /dev/console.

        -r Reset: writes to /dev/console go to kernel log tty(s)

function                                             old     new   delta
packed_usage                                       31766   31777     +11
setconsole_main                                       84      78      -6

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
console-tools/setconsole.c