Rob Landley
|
d040b01c2e
Fix "toybox command --help" for NEEDROOT commands.
|
2 years ago |
Rob Landley
|
83d5d7a0bb
Fix "toybox command --help".
|
2 years ago |
Rob Landley
|
0fd6b76887
Don't say "see toybox --help" in "toybox --help".
|
2 years ago |
Rob Landley
|
fc0fbe6788
Move lib/lib.c into main.c so make.sh doesn't have to split it out seperately. (Nothing else in lib/ has to rebuild when command list changes.)
|
2 years ago |
Rob Landley
|
80f82b2b5e
Check for --help before "Not root".
|
2 years ago |
Rob Landley
|
29e7ed94a1
Second attempt at making --help work with alias ls="ls --color"
|
3 years ago |
Rob Landley
|
08bfbd965e
Revert the --help change, it breaks stuff like "echo -- --help".
|
3 years ago |
Rob Landley
|
0c6000ad48
Ryan Prichard pointed out --help and --version can't be first in aliases.
|
3 years ago |
Rob Landley
|
a28ad6de96
Use cheaper test that works with "toybox" name as a prefix.
|
3 years ago |
Elliott Hughes
|
2c30d4f7a6
More line buffering.
|
3 years ago |
Rob Landley
|
664c417af5
Add lots of "static" annotations, make a couple things use FLAG() macros, etc.
|
3 years ago |
Elliott Hughes
|
4786fd6103
main.c: construct a combination locale to add UTF-8.
|
3 years ago |
Elliott Hughes
|
bec202875d
main.c: fix UTF-8 on macOS.
|
3 years ago |
Rob Landley
|
67476b1b3d
Sigh, remove debug code checked in by mistake.
|
3 years ago |
Rob Landley
|
4e47b8e583
The "fall back to C.UTF-8" check was backwards, and make TOYFLAG_LINEBUF
|
3 years ago |
Rob Landley
|
75b89012c9
Remove CONFIG_TOYBOX_I18N and just always support utf8.
|
3 years ago |
Rob Landley
|
7b0ea0a21f
Tweak help text again.
|
3 years ago |
Elliott Hughes
|
1b276a864b
toybox: fit list of commands in terminal width.
|
3 years ago |
Rob Landley
|
efb8060a59
People have been having trouble finding the toybox web page (despite being
|
3 years ago |
Rob Landley
|
f224ac56d9
xexec() shouldn't call a builtin when it's given a path to a command, but
|
4 years ago |
Rob Landley
|
d5680f026f
Don't let NOFORK arguments run through the multiplexer.
|
4 years ago |
Rob Landley
|
114541b98e
Redo NOFORK plumbing so commands like eval/unset can access/edit shell state.
|
4 years ago |
Rob Landley
|
28c9710edf
Don't recurse into multiplexer more than once.
|
4 years ago |
Rob Landley
|
7274458bde
Fiddle with main() comments.
|
4 years ago |
Rob Landley
|
2b729ee1e0
Move TOYBOX_VERSION fallback definition to toys.h.
|
4 years ago |
Rob Landley
|
a2cd46a5f3
Add MAYFORK to "help", teach it to behave differently when called as a
|
4 years ago |
Rob Landley
|
488f8507dc
Streamline init for NOFORK (fewer unnecessary syscalls for shell builtins).
|
4 years ago |
Elliott Hughes
|
8c6a4db555
main.c: fall back to user's locale.
|
4 years ago |
Rob Landley
|
f5425b1c48
Release 0.8.2
|
4 years ago |
Rob Landley
|
764e2ee3ec
Off by one error when you try to run a command through two symlinks.
|
4 years ago |