ash/hush: provide help text
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Mar 2011 11:34:59 +0000 (12:34 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Mar 2011 11:34:59 +0000 (12:34 +0100)
commitb0b834342ffece7f3debd8c7199a07ce8a6d942c
treec7434ffd6577942730d4a9ec8a716a30a67d8dda
parentaefe1c260ec5aa691e8b6f773c7fa393bfad0f7b
ash/hush: provide help text

$ ./busybox ash --help
BusyBox v1.19.0.git (2011-03-07 11:25:29 CET) multi-call binary.

Usage: ash [-/+OPTCHARS] [-/+o OPTNAME]... [-c 'SCRIPT' [ARG0 [ARGS]] / SCRIPT_FILE [ARGS]]

Unix shell interpreter

$ ./busybox hush --help
BusyBox v1.19.0.git (2011-03-07 11:25:29 CET) multi-call binary.

Usage: hush [-nx] [-c 'SCRIPT' [ARG0 [ARGS]] / SCRIPT_FILE [ARGS]]

Unix shell interpreter

function                                             old     new   delta
packed_usage                                       28163   28212     +49
setcmd                                                85      78      -7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 49/-7)              Total: 42 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
shell/hush.c