hush/util-linux
Denys Vlasenko 237bedd499 getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST
In many cases, this aqllows to drop use of opt_complementary.
Approximately -400 bytes:

function                                             old     new   delta
getopt32                                            1423    1502     +79
opt_string                                            17      18      +1
OPT_STR                                               24      25      +1
uniq_main                                            416     406     -10
timeout_main                                         279     269     -10
sulogin_main                                         270     260     -10
readprofile_main                                    1825    1815     -10
ps_main                                              543     533     -10
pidof_main                                           245     235     -10
pgrep_main                                           611     601     -10
od_main                                             2600    2590     -10
mkfs_minix_main                                     2684    2674     -10
mkfs_ext2_main                                      2603    2593     -10
microcom_main                                        712     702     -10
makemime_main                                        315     305     -10
ionice_main                                          282     272     -10
inetd_main                                          2074    2064     -10
ifplugd_main                                        1144    1134     -10
halt_main                                            353     343     -10
getopt_main                                          636     626     -10
fdisk_main                                          2854    2844     -10
env_main                                             206     196     -10
dmesg_main                                           319     309     -10
conspy_main                                         1214    1204     -10
awk_main                                             981     971     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/22 up/down: 81/-220)         Total: -139 bytes
   text	   data	    bss	    dec	    hex	filename
 919373	    906	  14060	 934339	  e41c3	busybox_old
 918969	    906	  14060	 933935	  e402f	busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-07-06 21:58:02 +02:00
..
volume_id *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
acpid.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
blkdiscard.c blkdiscard: new applet 2016-01-02 01:18:32 +01:00
blkid.c
blockdev.c
Config.src setarch: add support for '-R' (disable randomization) 2015-10-19 23:26:50 +02:00
dmesg.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
fatattr.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
fbset.c randomconfig fixes 2016-06-19 18:15:33 +02:00
fdformat.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
fdisk_aix.c
fdisk_gpt.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
fdisk_osf.c randomconfig fixes 2016-06-19 18:15:33 +02:00
fdisk_sgi.c randomconfig fixes 2016-06-19 18:15:33 +02:00
fdisk_sun.c
fdisk.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
findfs.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
flock.c flock: merge spawn_and_wait() code patchs for -c and sans-c uses 2016-04-24 18:21:32 +02:00
freeramdisk.c
fsck_minix.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
fstrim.c fstrim: fix help text 2015-02-04 15:19:38 +01:00
getopt.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
hexdump.c
hwclock.c Use chomp to remove newlines 2015-03-12 20:18:51 +01:00
ipcrm.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
ipcs.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
Kbuild.src setarch: add support for '-R' (disable randomization) 2015-10-19 23:26:50 +02:00
losetup.c
lspci.c
lsusb.c
mdev.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
minix.h more bionic fixes 2016-03-14 19:34:15 +01:00
mkfs_ext2_test.sh
mkfs_ext2.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
mkfs_ext2.txt
mkfs_minix.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
mkfs_reiser.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
mkfs_vfat.c mkfs_vfat: use bb_error_msg for logging, not bb_info_msg 2016-03-30 16:23:10 +02:00
mkswap.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
more.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
mount.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
nsenter.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
pivot_root.c
rdate.c trivial code shrink 2015-02-18 13:47:46 +01:00
rdev.c
readprofile.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
rev.c
rtcwake.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
script.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
scriptreplay.c
setarch.c setarch: add support for '-R' (disable randomization) 2015-10-19 23:26:50 +02:00
swaponoff.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
switch_root.c typo fix in comment 2015-10-13 12:34:35 +02:00
uevent.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
umount.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
unshare.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00