aboutsummaryrefslogtreecommitdiff
path: root/libbb/replace.c
diff options
context:
space:
mode:
authorRon Yorston via busybox <busybox@busybox.net>2026-02-08 10:16:18 +0000
committerDenys Vlasenko <vda.linux@googlemail.com>2026-02-28 11:25:05 +0100
commitb59b00323181d5d450a92959b9bbfe3585c6786b (patch)
treefa2d5fccac55def07ffd6166bd0757917d5a66a4 /libbb/replace.c
parent599f5dd8fac390c18b79cba4c14c334957605dae (diff)
downloadbusybox-w32-b59b00323181d5d450a92959b9bbfe3585c6786b.tar.gz
busybox-w32-b59b00323181d5d450a92959b9bbfe3585c6786b.tar.bz2
busybox-w32-b59b00323181d5d450a92959b9bbfe3585c6786b.zip
ash: fix help builtin and tab completion of builtins
Commit 56143ea63 (ash: code shrink: eliminate pstrcmp1()) changed the layout of struct builtincmd so the name member points to the start of the name, not the flag in the first element of the string. This broke the help builtin and tab completion of builtins. Remove the unnecessary '+ 1' in ash_command_name() and helpcmd(). ash_command_name 92 91 -1 helpcmd 106 102 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-5) Total: -5 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/replace.c')
0 files changed, 0 insertions, 0 deletions