[PATCH] ubi_tools: enhance -s option to allow size multiplier to match mtd-utils

Paul B. Henson henson at acm.org
Mon Jun 3 18:35:06 UTC 2013


On 6/2/2013 10:58 PM, Tito wrote:

> Will  xstrtou_sfx not die and print an error msg  if !size_str so
> maybe  bb_error_msg_and_die is not needed. It should be a getopt32
> job to check for missing options and error out and die.

The call to getopt32 is generic for all of the applets that this module 
supports, and as such does not enforce specific options for specific 
applets.

Again, that's the way I found it, I'm just adding a couple of minor 
enhancements, not re-architecting the base design.



More information about the busybox mailing list