aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
AgeCommit message (Collapse)Author
2007-11-15Remove trailing whitespace (thanks to Charlie Shepherd), and a couple commentRob Landley
tweaks.
2007-10-11Promote help to global config option, teach error_exit() to output usage ↵Rob Landley
message when called from get_optflags().
2007-06-18Fix "Need 1 arguments".Rob Landley
2007-02-16Add atolx() which understands extensions for kilobytes and megabytes and such.Rob Landley
2007-01-31Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.Rob Landley
2007-01-25Update args.c to implement numeric arguments.Rob Landley
2007-01-07xopen() wants 2 arguments unless you're creating a file, in which case youRob 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-25More work on option parsing. "df -t tmpfs" actually seems to work now.Rob Landley
2006-11-24Fix a half-dozen bugs in argument parsing. More seems to work than not now.Rob Landley
2006-11-19Allocate a more sane amount of memory.Rob Landley
2006-11-19Add one if() that has lots of whitespace fallout.Rob Landley
2006-11-19New option parsing infrastructure (doesn't use getopt). Hook it up toRob Landley
existing applets. Still a bit buggy, but bits of it work.