changeset 29909:68fa4ac060ce

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 22 Jul 2021 19:06:00 +0200
parents 39780b2456a8 (current diff) 3583b11e151b (diff)
children 218716316e62
files src/main.in.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.in.cc	Thu Jul 22 18:43:30 2021 +0200
+++ b/src/main.in.cc	Thu Jul 22 19:06:00 2021 +0200
@@ -343,7 +343,6 @@
             break;
 
           case EVAL_OPTION:
-          case 0:
             eval_code = true;
             for (int i = old_optind; i < next_optind; i++)
               new_argv[k++] = argv[i];
@@ -368,7 +367,7 @@
         }
     }
 
-  // Tread trailing arguments as commands to be executed
+  // Treat trailing arguments as commands to be executed
   if (next_optind < argc)
     {
       eval_code = true;