log lib/args.c @ 983:c38c25282b88

age author description
Wed, 31 Jul 2013 03:24:58 -0500 Rob Landley Cleanup renice and implement '|' (required option) in argument parsing.
Sat, 22 Jun 2013 15:36:25 -0500 Rob Landley Option type @ counts number of occurrences, it doesn't take an argument.
Tue, 30 Apr 2013 00:31:01 -0500 Rob Landley Fix bare longopts to set unique optflag bits.
Sun, 14 Apr 2013 21:43:22 -0500 Rob Landley Move guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP controlling infrastructure.
Sat, 06 Apr 2013 19:57:54 -0500 Rob Landley Fix argument parsing so -- doesn't include itself in output.
Sat, 29 Dec 2012 03:18:34 -0600 Rob Landley Ashwini Sharma pointed out that my previous tweak to [!abc] groups still 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).
Thu, 27 Dec 2012 18:44:37 -0600 Rob Landley Fix option grouping.
Sun, 25 Nov 2012 14:40:25 -0600 Rob Landley Fix typo.
Mon, 19 Nov 2012 01:49:53 -0600 Rob Landley Teach option parsing about [groups] of related options.
Tue, 13 Nov 2012 17:14:08 -0600 Rob Landley Reindent to two spaces per level. Remove vi: directives that haven't worked 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.
Fri, 02 Nov 2012 09:50:09 -0500 Rob Landley Use stridx.
Sun, 15 Jul 2012 17:22:04 -0500 Rob Landley Genericize llist code a bit: rename llist_free() to llist_traverse(), and no longer accept NULL as a synonym for free.
Mon, 12 Mar 2012 00:25:40 -0500 Rob Landley Redo tail to use optargs and optionally support lseek. Add support to optargs and llist.c, plus add a test suite entry. Still no -f support though.
Tue, 28 Feb 2012 00:29:52 -0600 Rob Landley Add "-" type to optargs and teach tail.c to use it. Tighten up help text, use xzalloc() and xputc() as appropriate.
Sun, 26 Feb 2012 16:11:25 -0600 Rob Landley Teach lib/args.c that " " this option must take a _separate_ argument, so "kill -stop" and "kill -s top" aren't the same thing. Make kill.c use it, and remove leftover debug printfs.
Sat, 18 Feb 2012 22:44:11 -0600 Rob Landley Nathan McSween convinced me compilers that inline memset() can optimize the bzero case pretty well.
Fri, 03 Feb 2012 11:17:48 -0200 Luis Felipe Strano Moraes Removing unecessary allocation.
Sun, 29 Jan 2012 13:54:13 -0600 Rob Landley Add <>= to lib/args.c, with documentation.
Wed, 30 Nov 2011 07:21:23 -0600 Rob Landley Split out parse_optflaglist(), and move local variables to optflagstate.
Mon, 28 Nov 2011 00:22:15 -0600 Rob Landley Fix "tar cvjfC file dir", make @ not eat an argument, add debug check for (as yet) unsupported multi-function option (ala "x*@").
Thu, 03 Jul 2008 19:14:23 -0500 Rob Landley Teach option parsing logic that ^ means stop parsing after this option.
Thu, 26 Jun 2008 22:48:43 -0500 Rob Landley Option parsing: stopearly is now a ^ prefix (not +), and an option string with
Mon, 16 Jun 2008 19:27:35 -0500 Rob Landley Assemble '*' repeated argument list in order. Also implement '@' counter.
Sat, 17 May 2008 17:13:26 -0500 Rob Landley Fix command line option parsing so "echo -xen" actually prints "-xen". Add
Sun, 04 May 2008 18:52:29 -0500 Rob Landley Fluffier error message.
Mon, 24 Mar 2008 00:32:25 -0500 Rob Landley Enabling debugging should not change behavior. Oops.
Mon, 18 Feb 2008 03:32:17 -0600 Rob Landley Add enable/disable/exclude logic, update docs.
Tue, 12 Feb 2008 17:36:13 -0600 Rob Landley Add toys.optc, an argv-style count for toys.optargs.
Sun, 20 Jan 2008 17:25:44 -0600 Rob Landley Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()
Tue, 27 Nov 2007 01:41:32 -0600 Rob Landley Patch from Charlie Shepherd: remove extra \n from error_exit() arguments.
Thu, 15 Nov 2007 18:30:30 -0600 Rob Landley Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment
Thu, 11 Oct 2007 15:36:36 -0500 Rob Landley Promote help to global config option, teach error_exit() to output usage message when called
Mon, 18 Jun 2007 00:12:43 -0400 Rob Landley Fix "Need 1 arguments".
Fri, 16 Feb 2007 21:08:22 -0500 Rob Landley Add atolx() which understands extensions for kilobytes and megabytes and such.
Wed, 31 Jan 2007 14:37:01 -0500 Rob Landley Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
Thu, 25 Jan 2007 16:11:23 -0500 Rob Landley Update args.c to implement numeric arguments.
Sun, 07 Jan 2007 22:51:12 -0500 Rob Landley xopen() wants 2 arguments unless you're creating a file, in which case you
Sat, 25 Nov 2006 13:34:51 -0500 Rob Landley More work on option parsing. "df -t tmpfs" actually seems to work now.
Fri, 24 Nov 2006 00:15:21 -0500 Rob Landley Fix a half-dozen bugs in argument parsing. More seems to work than not now.
Sun, 19 Nov 2006 20:35:19 -0500 Rob Landley Allocate a more sane amount of memory.
Sun, 19 Nov 2006 17:29:35 -0500 Rob Landley Add one if() that has lots of whitespace fallout.
Sun, 19 Nov 2006 02:49:22 -0500 Rob Landley New option parsing infrastructure (doesn't use getopt). Hook it up to