platform/upstream/toybox.git
10 years agoPass through all the readfile() arguments from xreadfile().
Rob Landley [Sat, 28 Dec 2013 00:45:01 +0000 (18:45 -0600)]
Pass through all the readfile() arguments from xreadfile().

10 years agoNoticed a few differences from standard help messages, plus a small
Isaac Dunham [Fri, 27 Dec 2013 14:36:03 +0000 (08:36 -0600)]
Noticed a few differences from standard help messages, plus a small
problem with the port number handling: when no port was specified, it failed.
The solution ended up dropping a couple lines.

10 years agoAttached is an implementation for ftpget/put commands.
Ashwini Sharma [Fri, 27 Dec 2013 14:30:32 +0000 (08:30 -0600)]
Attached is an implementation for ftpget/put commands.

10 years agoNew section on #including header files.
Rob Landley [Fri, 27 Dec 2013 12:53:15 +0000 (06:53 -0600)]
New section on #including header files.

10 years agoAn implementation for brctl (ethernet bridge control).
Ashwini Sharma [Thu, 26 Dec 2013 15:37:03 +0000 (09:37 -0600)]
An implementation for brctl (ethernet bridge control).

10 years agoarping command is implemented.
Ashwini Sharma [Thu, 26 Dec 2013 15:34:58 +0000 (09:34 -0600)]
arping command is implemented.

10 years agoThe recent switch from get_int_value to to atolx_range left route
Isaac Dunham [Tue, 24 Dec 2013 02:58:24 +0000 (20:58 -0600)]
The recent switch from get_int_value to to atolx_range left route
broken. So here's a patch to switch it to atolx_range as well.

10 years agoTwo more commands (last and more) submitted by Ashwini Sharma.
Rob Landley [Mon, 23 Dec 2013 15:36:14 +0000 (09:36 -0600)]
Two more commands (last and more) submitted by Ashwini Sharma.

10 years agotelnet and telnetd from Ashwini Sharma's guys.
Rob Landley [Mon, 23 Dec 2013 15:33:48 +0000 (09:33 -0600)]
telnet and telnetd from Ashwini Sharma's guys.

10 years agoClean up half-finished blkid.test.
Rob Landley [Mon, 23 Dec 2013 13:37:36 +0000 (07:37 -0600)]
Clean up half-finished blkid.test.

10 years agoUpdating the email id in Copyright.
Ashwini Sharma [Mon, 23 Dec 2013 13:26:22 +0000 (07:26 -0600)]
Updating the email id in Copyright.

10 years agoAttached is an implementation for groupdel.
Ashwini Sharma [Mon, 23 Dec 2013 13:23:28 +0000 (07:23 -0600)]
Attached is an implementation for groupdel.

This is aliased to delgroup, for a requirement at my end.
Also lib/password.c is modified to along with.

10 years agoPending commands default n.
Rob Landley [Mon, 23 Dec 2013 13:19:07 +0000 (07:19 -0600)]
Pending commands default n.

10 years agoIPv6 support is added into traceroute command.
Ashwini Sharma [Mon, 23 Dec 2013 13:15:13 +0000 (07:15 -0600)]
IPv6 support is added into traceroute command.
traceroute6 is made as an old toy of traceroute.

10 years agoFix some issues raised (albeit indirectly) by Isaac Dunham.
Rob Landley [Mon, 23 Dec 2013 12:49:38 +0000 (06:49 -0600)]
Fix some issues raised (albeit indirectly) by Isaac Dunham.

POLL_IN defined as a constant by some libc.
Factor out login.c's change_identity() to xwrap.c as xsetuser().
Replace xsetuid() with xsetuser()
Put a space between argument globals and non-argument globals.
TT starts zeroed, don't need to re-zero entries in it.
STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0.
Added an xchroot() using xchdir() to lib/xwrap.c.
Remove endgrent() call until somebody can explain why it was there.

10 years agoAshwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 netmask...
Rob Landley [Mon, 23 Dec 2013 02:15:54 +0000 (20:15 -0600)]
Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 netmask" would segfault. Replace it with an error_exit(), see list for aesthetic issue this raises re: help text.

10 years agoAdd -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.)
Rob Landley [Mon, 23 Dec 2013 01:39:12 +0000 (19:39 -0600)]
Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.)

10 years agoPromote su from pending to lsb.
Rob Landley [Sun, 22 Dec 2013 21:48:44 +0000 (15:48 -0600)]
Promote su from pending to lsb.

10 years agoCleanup su.
Rob Landley [Sun, 22 Dec 2013 21:47:48 +0000 (15:47 -0600)]
Cleanup su.

10 years agokillall: fix return code, improve error reporting, avoid buffer overflow.
Rob Landley [Fri, 20 Dec 2013 04:20:08 +0000 (22:20 -0600)]
killall: fix return code, improve error reporting, avoid buffer overflow.

10 years agoDon't permute toys.optargs, cleanup code (xexec()) can free it.
Rob Landley [Fri, 20 Dec 2013 03:38:12 +0000 (21:38 -0600)]
Don't permute toys.optargs, cleanup code (xexec()) can free it.

10 years agoOlder python spit --version to stdout, 2.7 does it to stderr. Of course.
Rob Landley [Thu, 19 Dec 2013 21:14:33 +0000 (15:14 -0600)]
Older python spit --version to stdout, 2.7 does it to stderr. Of course.

10 years agoOnly define MNT_DETACH for old glibc, portability.h included _before_ sys/mount.h...
Rob Landley [Thu, 19 Dec 2013 21:11:45 +0000 (15:11 -0600)]
Only define MNT_DETACH for old glibc, portability.h included _before_ sys/mount.h...

10 years agotoynet.h went away, missed a file...
Rob Landley [Thu, 19 Dec 2013 21:07:28 +0000 (15:07 -0600)]
toynet.h went away, missed a file...

10 years agoRegression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot.
Rob Landley [Thu, 19 Dec 2013 21:02:18 +0000 (15:02 -0600)]
Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot.

10 years agoMove names_to_pid from pending to lib.
Rob Landley [Thu, 19 Dec 2013 15:32:30 +0000 (09:32 -0600)]
Move names_to_pid from pending to lib.

10 years agoln -v support from Ashwini Sharma (comment tweak from me)
Rob Landley [Wed, 18 Dec 2013 16:25:02 +0000 (10:25 -0600)]
ln -v support from Ashwini Sharma (comment tweak from me)

10 years agoAshwini Sharma added -v, I tweaked it a bit and added a couple test suite entries.
Rob Landley [Wed, 18 Dec 2013 16:20:16 +0000 (10:20 -0600)]
Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite entries.

10 years agoFix pidof -o bug aborting output, reported by Ashwini Sharma.
Rob Landley [Mon, 16 Dec 2013 23:41:25 +0000 (17:41 -0600)]
Fix pidof -o bug aborting output, reported by Ashwini Sharma.

10 years agoDoing math on void pointers isn't portable, reported by Nathan McSween.
Rob Landley [Sun, 8 Dec 2013 19:26:05 +0000 (13:26 -0600)]
Doing math on void pointers isn't portable, reported by Nathan McSween.

10 years agoForgot to set new pending entry to default n.
Rob Landley [Sun, 8 Dec 2013 19:21:14 +0000 (13:21 -0600)]
Forgot to set new pending entry to default n.

10 years agoCan't test <0 on an unsigned, reported by Nathan McSween.
Rob Landley [Sun, 8 Dec 2013 19:19:01 +0000 (13:19 -0600)]
Can't test <0 on an unsigned, reported by Nathan McSween.

10 years agoAshwini Sharma submitted tcpsvd/udpsvd.
Rob Landley [Sat, 7 Dec 2013 22:19:17 +0000 (16:19 -0600)]
Ashwini Sharma submitted tcpsvd/udpsvd.

10 years agoWhen building for 32-bit, the compiler can't figure out that a constant too big to...
Rob Landley [Thu, 5 Dec 2013 04:58:42 +0000 (22:58 -0600)]
When building for 32-bit, the compiler can't figure out that a constant too big to fit in a long isn't trying to unless you explicitly postfix the constant with the type of the varable it's being assigned into.

10 years agoRedo od whitespace with multiple output types so the columns align.
Rob Landley [Tue, 3 Dec 2013 21:11:52 +0000 (15:11 -0600)]
Redo od whitespace with multiple output types so the columns align.

Factor out single output type into od_out_t(), call it in a loop for each type
finding largest output (and if output consumes more than one byte of input
average rounding up), pad each output to the largest output times number of
bytes input consumed.

10 years agoMinor drive-by cleanups to cpio. Whitespace, curly brackets, replace %4 with &3,...
Rob Landley [Sun, 1 Dec 2013 20:34:05 +0000 (14:34 -0600)]
Minor drive-by cleanups to cpio. Whitespace, curly brackets, replace %4 with &3, turn a switch/case into if/else.

10 years agoFix cut.
Rob Landley [Sat, 30 Nov 2013 06:57:26 +0000 (00:57 -0600)]
Fix cut.

Some commands went in before "pending", and thus need cleanup but are enabled
in defconfig. The fact cut used a function out of lib/pending.c is a hint
it might be in this category...

10 years agoCleanup help text, remove dead fields unused by linux kernel.
Rob Landley [Sat, 30 Nov 2013 06:16:28 +0000 (00:16 -0600)]
Cleanup help text, remove dead fields unused by linux kernel.

10 years agoPromote ifconfig from pending to other.
Rob Landley [Fri, 29 Nov 2013 04:13:04 +0000 (22:13 -0600)]
Promote ifconfig from pending to other.

10 years agoOops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). Check that in.
Rob Landley [Fri, 29 Nov 2013 03:11:34 +0000 (21:11 -0600)]
Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). Check that in.

10 years agoAdd xgetpwnam() to lib/xwrap.c.
Rob Landley [Fri, 29 Nov 2013 03:06:15 +0000 (21:06 -0600)]
Add xgetpwnam() to lib/xwrap.c.

10 years agoMove xgetpwuid() and xgetgrgid() into xwrap.c
Rob Landley [Fri, 29 Nov 2013 02:18:04 +0000 (20:18 -0600)]
Move xgetpwuid() and xgetgrgid() into xwrap.c

10 years agoIfconfig cleanup.
Rob Landley [Wed, 27 Nov 2013 01:35:22 +0000 (19:35 -0600)]
Ifconfig cleanup.

10 years agoThe return of ifconfig cleanup.
Rob Landley [Sun, 24 Nov 2013 02:02:10 +0000 (20:02 -0600)]
The return of ifconfig cleanup.

10 years agotftpd upgrade from Ashwini Sharma based on comments from Felix Janda.
Rob Landley [Thu, 21 Nov 2013 05:01:49 +0000 (23:01 -0600)]
tftpd upgrade from Ashwini Sharma based on comments from Felix Janda.

10 years agoFix broken link.
Rob Landley [Wed, 20 Nov 2013 21:01:03 +0000 (15:01 -0600)]
Fix broken link.

10 years agoRelease announcement for 0.4.7.
Rob Landley [Tue, 19 Nov 2013 15:44:48 +0000 (09:44 -0600)]
Release announcement for 0.4.7.

10 years agoAdded tag 0.4.7 for changeset 663242f2962c
Rob Landley [Tue, 19 Nov 2013 15:41:35 +0000 (09:41 -0600)]
Added tag 0.4.7 for changeset 663242f2962c

10 years agoAdd test suite for blkid and clean up an editorial comment that shouldn't have been...
Rob Landley [Mon, 18 Nov 2013 13:42:48 +0000 (07:42 -0600)]
Add test suite for blkid and clean up an editorial comment that shouldn't have been checked in.

10 years agoSupport -F, and ignore -u since that's what we do anyway.
Isaac Dunham [Sat, 16 Nov 2013 16:37:49 +0000 (10:37 -0600)]
Support -F, and ignore -u since that's what we do anyway.
(Really, checking the original file date is the Right Thing, but I
haven't written it yet.)

10 years agoRemove leftover debris from scripts/test.sh that screws up single tests with single.sh.
Rob Landley [Thu, 14 Nov 2013 06:18:13 +0000 (00:18 -0600)]
Remove leftover debris from scripts/test.sh that screws up single tests with single.sh.

10 years agofsck wrapper from Ashwini Sharma. (Note: this just calls filesystem-specific programs...
Rob Landley [Mon, 11 Nov 2013 00:38:43 +0000 (18:38 -0600)]
fsck wrapper from Ashwini Sharma. (Note: this just calls filesystem-specific programs not yet in toybox.)

10 years agoApparently I forgot to tag 0.4.6. Do so now.
Rob Landley [Mon, 11 Nov 2013 00:29:06 +0000 (18:29 -0600)]
Apparently I forgot to tag 0.4.6. Do so now.

10 years agodumpleases (for dhcpd) submitted by Ashwini Sharma.
Rob Landley [Mon, 11 Nov 2013 00:25:18 +0000 (18:25 -0600)]
dumpleases (for dhcpd) submitted by Ashwini Sharma.

10 years agodu from Ashwini Sharma.
Rob Landley [Mon, 11 Nov 2013 00:23:19 +0000 (18:23 -0600)]
du from Ashwini Sharma.

10 years agoBreak out lib/pending.h from lib/lib.h.
Rob Landley [Mon, 11 Nov 2013 00:20:16 +0000 (18:20 -0600)]
Break out lib/pending.h from lib/lib.h.

10 years agoFilesystem images for testing blkid, from Bradley Conroy.
Rob Landley [Sun, 10 Nov 2013 22:05:59 +0000 (16:05 -0600)]
Filesystem images for testing blkid, from Bradley Conroy.

10 years agodistclean was missing singleconfig.old.
Rob Landley [Sun, 10 Nov 2013 21:58:03 +0000 (15:58 -0600)]
distclean was missing singleconfig.old.

10 years agoStuff in pending should default n until cleaned up.
Rob Landley [Sun, 10 Nov 2013 21:49:21 +0000 (15:49 -0600)]
Stuff in pending should default n until cleaned up.

10 years agoAdd tftpd
Ashwini Sharma [Sun, 10 Nov 2013 20:16:31 +0000 (14:16 -0600)]
Add tftpd

10 years agogrep doesn't allocate enough space
William Haddon [Sun, 10 Nov 2013 01:37:41 +0000 (19:37 -0600)]
grep doesn't allocate enough space

Grep miscalculates the amount of memory it needs to allocate when "converting
strings to one big regex" when the -e flag is not specified. Since in this case
"\|" is inserted between strings rather than "|", two extra bytes rather than
one need to be provided for each string. I noticed this because it caused grep
to seg-fault on musl when a regex of exactly seven characters is provided.

10 years agoTypo spotted by Anca Emanuel.
Rob Landley [Sat, 9 Nov 2013 18:23:48 +0000 (12:23 -0600)]
Typo spotted by Anca Emanuel.

10 years agoTweak terminal_size to never set either to 0, and return true/false whether it could...
Rob Landley [Thu, 7 Nov 2013 15:04:50 +0000 (09:04 -0600)]
Tweak terminal_size to never set either to 0, and return true/false whether it could determine at least one coordinate.

(If you set $COLUMNS but not $ROWS, we assume you're happy with the 80x25 default for the other.)

10 years agoFix off by one, pointed out by Ashwini Sharma.
Rob Landley [Sun, 3 Nov 2013 23:09:33 +0000 (17:09 -0600)]
Fix off by one, pointed out by Ashwini Sharma.

10 years agoSceond cleanup pass on vconfig
Rob Landley [Sat, 2 Nov 2013 20:10:55 +0000 (15:10 -0500)]
Sceond cleanup pass on vconfig

10 years agoGive xstrncpy() a more informative error message.
Rob Landley [Sat, 2 Nov 2013 19:24:54 +0000 (14:24 -0500)]
Give xstrncpy() a more informative error message.

10 years agoMerge toynet.h into toys.h: musl supports it and micromanaging uClibc config options...
Rob Landley [Sat, 2 Nov 2013 19:24:33 +0000 (14:24 -0500)]
Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.

10 years agoCleanup vconfig.
Rob Landley [Sat, 2 Nov 2013 16:07:25 +0000 (11:07 -0500)]
Cleanup vconfig.

10 years agoPatch from William Haddon to make xargs with blank input call its command line once...
Rob Landley [Fri, 1 Nov 2013 03:22:21 +0000 (22:22 -0500)]
Patch from William Haddon to make xargs with blank input call its command line once. (Tweaked slightly for whitespace and to collate variable declarations.)

10 years agoMake the patch -x option (only enabled with CONFIG_DEBUG) provide more information...
Rob Landley [Thu, 31 Oct 2013 14:36:55 +0000 (09:36 -0500)]
Make the patch -x option (only enabled with CONFIG_DEBUG) provide more information about why a patch didn't apply. (Offset of first nonmatching character at each line during seek phase.)

10 years agoPromote nl from pending to posix, and add tests.
Rob Landley [Sun, 27 Oct 2013 07:50:55 +0000 (02:50 -0500)]
Promote nl from pending to posix, and add tests.

10 years agoCleanup nl, add support for more bits of posix.
Rob Landley [Sun, 27 Oct 2013 07:48:13 +0000 (02:48 -0500)]
Cleanup nl, add support for more bits of posix.

10 years agoHere's a revised cpio.
Isaac Dunham [Mon, 28 Oct 2013 00:11:07 +0000 (19:11 -0500)]
Here's a revised cpio.
I've reduced the use of malloc(), dropped an extra function call, and
-at least in theory- allowed proper handling of non-regular files.
(If we have a file we can't read, we still should record it when it's
of a type where file content is ignored).

10 years agoRefactor terminal querying.
Rob Landley [Sun, 27 Oct 2013 05:02:56 +0000 (00:02 -0500)]
Refactor terminal querying.

10 years agowatch: Add support for -e option, remove memory leak and deal with not-wide terminals
Elie De Brauwer [Sun, 13 Oct 2013 13:33:32 +0000 (15:33 +0200)]
watch: Add support for -e option, remove memory leak and deal with not-wide terminals

10 years agoI noticed the user count was missing and added this, borrowing a bit of code from...
Jeroen van Rijn [Sat, 26 Oct 2013 17:59:28 +0000 (12:59 -0500)]
I noticed the user count was missing and added this, borrowing a bit of code from toys/posix/who.c.

10 years agoDon't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely.
Rob Landley [Wed, 23 Oct 2013 07:52:01 +0000 (02:52 -0500)]
Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely.

10 years agoMinor cleanup of reboot
Rob Landley [Thu, 17 Oct 2013 19:43:38 +0000 (14:43 -0500)]
Minor cleanup of reboot

10 years agoNew toy: reboot/halt/poweroff
Elie De Brauwer [Tue, 1 Oct 2013 18:57:21 +0000 (20:57 +0200)]
New toy: reboot/halt/poweroff

10 years agouseradd, groupadd, and mkpasswd submitted by Ashwini Sharma.
Rob Landley [Thu, 17 Oct 2013 01:41:56 +0000 (20:41 -0500)]
useradd, groupadd, and mkpasswd submitted by Ashwini Sharma.

10 years agoMinor lib/password.c cleanup, described on the list. (Inline two functions.)
Rob Landley [Thu, 17 Oct 2013 01:01:46 +0000 (20:01 -0500)]
Minor lib/password.c cleanup, described on the list. (Inline two functions.)

10 years agoPrep work for useradd by Ashwini Sharma.
Rob Landley [Thu, 17 Oct 2013 00:30:17 +0000 (19:30 -0500)]
Prep work for useradd by Ashwini Sharma.

10 years agoTeach scripts/test.sh to call scripts/single.sh.
Rob Landley [Tue, 15 Oct 2013 05:57:39 +0000 (00:57 -0500)]
Teach scripts/test.sh to call scripts/single.sh.

10 years agoI've finally gotten 'cpio' into a shape where it could be useable.
Isaac Dunham [Mon, 14 Oct 2013 16:15:22 +0000 (11:15 -0500)]
I've finally gotten 'cpio' into a shape where it could be useable.
This version can archive and extract directories, sockets, FIFOs, devices,
symlinks, and regular files.
Supported options are -iot, -H FMT (which is a dummy right now).
It only writes newc, and could read newc or newcrc.

This does NOT implement -d, which essentially is equivalent to
mkdir -p $(dirname $FILE)
for every file that needs it.
Hard links are not supported, though it would be easy to add them given
a hash table or something like that.
I also have not implemented the "<n> blocks" output on stderr.
If desired, I can add it pretty simply.

There is one assumption this makes: that the mode of a file, as mode_t,
is bitwise equivalent to the mode as defined for the cpio format.
This is true of Linux, but is not mandated by POSIX.
If it is compiled for a system where that is false, the archives will
not be portable.

10 years agoMove blkid out of pending, default y.
Rob Landley [Tue, 8 Oct 2013 23:02:23 +0000 (18:02 -0500)]
Move blkid out of pending, default y.

10 years agoCleanup chvt
Rob Landley [Tue, 8 Oct 2013 20:58:08 +0000 (15:58 -0500)]
Cleanup chvt

10 years agoCleanup blkid
Rob Landley [Tue, 8 Oct 2013 17:25:02 +0000 (12:25 -0500)]
Cleanup blkid

10 years agoblkid cleanup: more whitespace (including fixing a strange unindented if block),...
Rob Landley [Mon, 7 Oct 2013 20:04:09 +0000 (15:04 -0500)]
blkid cleanup: more whitespace (including fixing a strange unindented if block), convert strange fstype inclusion to OLDTOY(), use "<1" arg so calling with no arguments doesn't hang, convert typedef to normal struct.

10 years agoblkid cleanup: Convert tabs to spaces.
Rob Landley [Mon, 7 Oct 2013 19:37:41 +0000 (14:37 -0500)]
blkid cleanup: Convert tabs to spaces.

10 years agoAdd blkid.c
Brad Conroy [Mon, 7 Oct 2013 19:12:35 +0000 (14:12 -0500)]
Add blkid.c

I finally figured out the NTFS labels after reading a rant on how UTF-8 rocks
and how MS switched  to UTF16 or UCS1 or whatever. The reason I couldn't grep
for the label (mine was "myntfs") was that it is stored as
"m\0y\0n\0t\0f\0s\0\0" - found another good use for hexdump :)

Notes:
I only have x86 to test on, so there are a couple of places that may need
bswap_{16,32} for endianness. I used a 65k buf instead of toybuf (4k) for
simplicity, but tried to organize it for toybuf if wanted. I have info on
more fs types, to patch with after review. blkid does output for all devices
if 0 args -> read /proc/partitions?

10 years agoWhitespace tweaks and remove unused variable.
Rob Landley [Sun, 6 Oct 2013 21:02:20 +0000 (16:02 -0500)]
Whitespace tweaks and remove unused variable.

10 years agotop submitted by Ashwini Sharma
Rob Landley [Sun, 6 Oct 2013 08:12:48 +0000 (03:12 -0500)]
top submitted by Ashwini Sharma

10 years agoIt's not a problem to exactly fill up the buffer with a run if the next symbol is...
Rob Landley [Sun, 6 Oct 2013 22:35:57 +0000 (17:35 -0500)]
It's not a problem to exactly fill up the buffer with a run if the next symbol is the terminating symbol. Fixes https://jira.cyanogenmod.org/browse/CYAN-1896

10 years agoTypo: fdisk != fsck.
Rob Landley [Fri, 4 Oct 2013 19:32:39 +0000 (14:32 -0500)]
Typo: fdisk != fsck.

10 years agoSwitch flag generation from shell to C.
Rob Landley [Thu, 3 Oct 2013 08:18:00 +0000 (03:18 -0500)]
Switch flag generation from shell to C.

This should actually generate FLAG_longopt 0 #defines for disabled bare
longopts (ala ls without --color). Put temporary executables under "generated"
(including instlist for install).

10 years agotraceroute from Ashwini Sharma
Rob Landley [Sun, 22 Sep 2013 16:21:06 +0000 (11:21 -0500)]
traceroute from Ashwini Sharma

10 years agoFix generated/oldtoys.h to contain option strings with USE() macros in them.
Rob Landley [Sun, 22 Sep 2013 08:37:39 +0000 (03:37 -0500)]
Fix generated/oldtoys.h to contain option strings with USE() macros in them.

10 years agoUpdate lib/args.c docs.
Rob Landley [Sat, 21 Sep 2013 19:27:26 +0000 (14:27 -0500)]
Update lib/args.c docs.

10 years agoTweak args (yank old + that never worked, rename | to +), and add uname -o as a synon...
Rob Landley [Sat, 21 Sep 2013 18:46:44 +0000 (13:46 -0500)]
Tweak args (yank old + that never worked, rename | to +), and add uname -o as a synonym for -s.

10 years agoFluff out option parsing documentation, add another DEBUG test.
Rob Landley [Sat, 21 Sep 2013 17:24:04 +0000 (12:24 -0500)]
Fluff out option parsing documentation, add another DEBUG test.