Age | Commit message (Expand) | Author |
2020-11-14 | Allow 0 prefix to optstr to include argv[0] in optargs[0]. | Rob Landley |
2020-05-05 | Fix 32 bit option parsing for long long optflag values. | Rob Landley |
2019-06-25 | lib/args.c: add quotes. | Elliott Hughes |
2019-05-13 | Comment tweak. | Rob Landley |
2019-03-10 | Add TOYFLAG_ARGFAIL() to allow argument parsing failures to exit with value. | Rob Landley |
2018-12-26 | Teach the argument plumbing how to do -@ for mkfs.vfat | Rob Landley |
2018-12-17 | Only set FLAGS_NODASH when arguments didn't have a dash. | Rob Landley |
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley |
2018-03-14 | Fix last uninitialized warning. | Elliott Hughes |
2018-03-10 | Add a way for commands to distinguish "ps -ax" from "ps ax". | Rob Landley |
2017-06-05 | Have help_exit() give a brief "See %s --help" message instead of the | Rob Landley |
2017-03-23 | Now that just about everything has --help, don't output help for argument errors | Rob Landley |
2017-01-04 | An option can't exclude itself, so "abc[-ab][!abc]" with "command -a -b" | Rob Landley |
2016-07-04 | Now that we're using the adjusted option string, need to skip placeholders in... | Rob Landley |
2015-12-10 | Expand toys.optargs to 64 bits so people adding more options to ls don't run ... | Rob Landley |
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley |
2015-07-10 | Move comment about TOYBOX_DEBUG to start of file so it's more obvious. | Rob Landley |
2015-01-18 | Remove trailing whitespace. | Rob Landley |
2015-01-01 | Debris from flag handling rewrite: don't allow -^A to actually trigger. | Rob Landley |
2014-08-15 | Fix bug reported by Ashwini Sharma: [-abc] syntax to switch off a command forget | Rob Landley |
2013-09-21 | Tweak args (yank old + that never worked, rename | to +), and add uname -o as... | Rob Landley |
2013-09-21 | Fluff out option parsing documentation, add another DEBUG test. | Rob Landley |
2013-09-09 | Fix [-group] argument dropping. | Rob Landley |
2013-09-06 | Make [-abc] exclude logic clear argument slots when disabling options. | Rob Landley |
2013-09-01 | Improve --longopt parsing: general bugfixes, better error reporting, new ; op... | Rob Landley |
2013-07-31 | Cleanup renice and implement '|' (required option) in argument parsing. | Rob Landley |
2013-06-22 | Option type @ counts number of occurrences, it doesn't take an argument. | Rob Landley |
2013-04-30 | Fix bare longopts to set unique optflag bits. | Rob Landley |
2013-04-14 | Move guts of help command into show_help() in lib/help.c, with config TOYBOX_... | Rob Landley |
2013-04-06 | Fix argument parsing so -- doesn't include itself in output. | Rob Landley |
2012-12-29 | Ashwini Sharma pointed out that my previous tweak to [!abc] groups still didn... | Rob Landley |
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 r... | Rob Landley |
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 |
2012-03-12 | Redo tail to use optargs and optionally support lseek. Add support to optargs... | Rob Landley |
2012-02-28 | Add "-" type to optargs and teach tail.c to use it. Tighten up help text, us... | Rob Landley |
2012-02-26 | Teach lib/args.c that " " this option must take a _separate_ argument, so "ki... | Rob Landley |
2012-02-18 | Nathan McSween convinced me compilers that inline memset() can optimize the b... | Rob Landley |
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 (as... | Rob Landley |
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 |
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 |
2008-05-04 | Fluffier error message. | Rob Landley |