which was apparently never tested. That meant that there always had
to be at least one unparsed argument left over, which is not the case for
tar.
/* Prepend '-' to the first argument if required */
bb_opt_complementally = ENABLE_FEATURE_TAR_CREATE ?
- "--:-1:X::T::\n::c:t:x:?:c--tx:t--cx:x--ct" :
- "--:-1:X::T::\n::t:x:?:t--x:x--t";
+ "--:X::T::\n::c:t:x:?:c--tx:t--cx:x--ct" :
+ "--:X::T::\n::t:x:?:t--x:x--t";
if (ENABLE_FEATURE_TAR_LONG_OPTIONS)
bb_applet_long_options = tar_long_options;
opt = bb_getopt_ulflags(argc, argv, tar_options,