[Bug 8136] New: ubiupdatevol: '-t' parameter not usable (invalid command line parsing)

bugzilla at busybox.net bugzilla at busybox.net
Thu May 28 06:52:32 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8136

           Summary: ubiupdatevol: '-t' parameter not usable (invalid
                    command line parsing)
           Product: Busybox
           Version: 1.21.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: marko at von-oppen.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


ubiupdatevol should take the '-t' option without an additional argument like
the help message states correctly. But when using it in that matter busybox
gives an error message.

root at OpenWrt:/# ubiupdatevol /dev/ubi1_0 -t
ubiupdatevol: option requires an argument -- 't'
BusyBox v1.22.1 (2015-05-27 14:11:07 CEST) multi-call binary.

Usage: ubiupdatevol UBI_DEVICE [-t | [-s SIZE] IMG_FILE]

Update UBI volume

        -t      Truncate to zero size
        -s SIZE Size in bytes to resize to


root at OpenWrt:/# ubiupdatevol -t /dev/ubi1_0
BusyBox v1.22.1 (2015-05-27 14:11:07 CEST) multi-call binary.

Usage: ubiupdatevol UBI_DEVICE [-t | [-s SIZE] IMG_FILE]

Update UBI volume

        -t      Truncate to zero size
        -s SIZE Size in bytes to resize to

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list