-
- bb_opt_complementaly = "p~tx:t~px:x~pt";
- opt = bb_getopt_ulflags(argc, argv, "ptxovc");
-
- if ((opt & 0x80000000UL) || (optind == argc)) {
- bb_show_usage();
- }
+
+ /* Prepend '-' to the first argument if required */
+ bb_opt_complementally = "--:p:t:x:-1:?:p--tx:t--px:x--pt";
+ opt = bb_getopt_ulflags(argc, argv, "ptxovcr");