Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-29 | Ashwini Sharma pointed out that my previous tweak to [!abc] groups still ↵ | Rob Landley | |
didn't get the error reporting right (test case "touch -d 12 -r f2 f1"). This says "no 'r' with 'd'" for that, and still shouldn't be able to fall off the end of the list (segfault) because an option can't conflict with itself (that's what the ~(1<<i) on lib/args.c line 317 is for). | |||
2012-12-27 | Fix option grouping. | Rob Landley | |
2012-11-25 | Fix typo. | Rob Landley | |
2012-11-19 | Teach option parsing about [groups] of related options. | Rob Landley | |
2012-11-13 | Reindent to two spaces per level. Remove vi: directives that haven't worked ↵ | Rob Landley | |
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring. | |||
2012-11-02 | Use stridx. | Rob Landley | |
2012-07-15 | Genericize llist code a bit: rename llist_free() to llist_traverse(), and no ↵ | Rob Landley | |
longer accept NULL as a synonym for free. | |||
2012-03-12 | Redo tail to use optargs and optionally support lseek. Add support to ↵ | Rob Landley | |
optargs and llist.c, plus add a test suite entry. Still no -f support though. | |||
2012-02-28 | Add "-" type to optargs and teach tail.c to use it. Tighten up help text, ↵ | Rob Landley | |
use xzalloc() and xputc() as appropriate. | |||
2012-02-26 | Teach lib/args.c that " " this option must take a _separate_ argument, so ↵ | Rob Landley | |
"kill -stop" and "kill -s top" aren't the same thing. Make kill.c use it, and remove leftover debug printfs. | |||
2012-02-18 | Nathan McSween convinced me compilers that inline memset() can optimize the ↵ | Rob Landley | |
bzero case pretty well. | |||
2012-02-03 | Removing unecessary allocation. | Luis Felipe Strano Moraes | |
2012-01-29 | Add <>= to lib/args.c, with documentation. | Rob Landley | |
2011-11-30 | Split out parse_optflaglist(), and move local variables to optflagstate. | Rob Landley | |
2011-11-28 | Fix "tar cvjfC file dir", make @ not eat an argument, add debug check for ↵ | Rob Landley | |
(as yet) unsupported multi-function option (ala "x*@"). | |||
2008-07-03 | Teach option parsing logic that ^ means stop parsing after this option. | Rob Landley | |
2008-06-26 | Option parsing: stopearly is now a ^ prefix (not +), and an option string with | Rob Landley | |
no flags auto-enables stopearly (so seq doesn't have to specify it to avoid having negative number arguments eaten by the option parsing logic). | |||
2008-06-16 | Assemble '*' repeated argument list in order. Also implement '@' counter. | Rob Landley | |
2008-05-17 | Fix command line option parsing so "echo -xen" actually prints "-xen". Add | Rob Landley | |
echo.test while I'm at it. | |||
2008-05-04 | Fluffier error message. | Rob Landley | |
2008-03-24 | Enabling debugging should not change behavior. Oops. | Rob Landley | |
2008-02-18 | Add enable/disable/exclude logic, update docs. | Rob Landley | |
2008-02-12 | Add toys.optc, an argv-style count for toys.optargs. | Rob Landley | |
2008-01-20 | Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS() | Rob Landley | |
macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion. | |||
2007-11-27 | Patch from Charlie Shepherd: remove extra \n from error_exit() arguments. | Rob Landley | |
2007-11-15 | Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment | Rob Landley | |
tweaks. | |||
2007-10-11 | Promote help to global config option, teach error_exit() to output usage ↵ | Rob Landley | |
message when called from get_optflags(). | |||
2007-06-18 | Fix "Need 1 arguments". | Rob Landley | |
2007-02-16 | Add atolx() which understands extensions for kilobytes and megabytes and such. | Rob Landley | |
2007-01-31 | Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_. | Rob Landley | |
2007-01-25 | Update args.c to implement numeric arguments. | Rob Landley | |
2007-01-07 | xopen() wants 2 arguments unless you're creating a file, in which case you | Rob Landley | |
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting) so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for the third argument. That way, if we feed O_CREAT to xopen() the permission 000 result should be easy to spot. | |||
2006-11-25 | More work on option parsing. "df -t tmpfs" actually seems to work now. | Rob Landley | |
2006-11-24 | Fix a half-dozen bugs in argument parsing. More seems to work than not now. | Rob Landley | |
2006-11-19 | Allocate a more sane amount of memory. | Rob Landley | |
2006-11-19 | Add one if() that has lots of whitespace fallout. | Rob Landley | |
2006-11-19 | New option parsing infrastructure (doesn't use getopt). Hook it up to | Rob Landley | |
existing applets. Still a bit buggy, but bits of it work. |