the -V (version) flag from busybox sed. It is unnecessary because sed is not a
standalone and should therefore be independently reporting a version number.
Moreover, it is extra code that we just don't need.
#endif
/* do normal option parsing */
- while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) {
+ while ((opt = getopt(argc, argv, "hne:f:")) > 0) {
switch (opt) {
- case 'V':
- printf("%s\n", full_version);
- exit(0);
- break;
case 'h':
usage(sed_usage);
break;
#endif
/* do normal option parsing */
- while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) {
+ while ((opt = getopt(argc, argv, "hne:f:")) > 0) {
switch (opt) {
- case 'V':
- printf("%s\n", full_version);
- exit(0);
- break;
case 'h':
usage(sed_usage);
break;