diff options
-rw-r--r-- | editors/diff.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/editors/diff.c b/editors/diff.c index 9d0373f93..7429b411a 100644 --- a/editors/diff.c +++ b/editors/diff.c | |||
@@ -915,13 +915,8 @@ int diff_main(int argc UNUSED_PARAM, char **argv) | |||
915 | getopt32(argv, "abdiL:NqrsS:tTU:wupBE", | 915 | getopt32(argv, "abdiL:NqrsS:tTU:wupBE", |
916 | &L_arg, &s_start, &opt_U_context); | 916 | &L_arg, &s_start, &opt_U_context); |
917 | argv += optind; | 917 | argv += optind; |
918 | while (L_arg) { | 918 | while (L_arg) |
919 | if (label[0] && label[1]) | 919 | label[!!label[0]] = llist_pop(&L_arg); |
920 | bb_show_usage(); | ||
921 | if (label[0]) /* then label[1] is NULL */ | ||
922 | label[1] = label[0]; | ||
923 | label[0] = llist_pop(&L_arg); | ||
924 | } | ||
925 | xfunc_error_retval = 2; | 920 | xfunc_error_retval = 2; |
926 | for (int i = 0; i < 2; i++) { | 921 | for (int i = 0; i < 2; i++) { |
927 | file[i] = argv[i]; | 922 | file[i] = argv[i]; |