فهرست منبع

Ignore wrong arguments. Fix #48

Adrian Simionov 8 سال پیش
والد
کامیت
e34674f885
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/docsis.c

+ 1 - 1
src/docsis.c

@@ -427,7 +427,7 @@ main (int argc, char *argv[])
     /* no more recognisable options means that we've either finished parsing
      * all arguments or else that the remaining arguments refer to a list of
      * config files */
-    if (argc) {
+    if ((argc && encode_docsis) || (argc && decode_bin)) {
       break;
     }
   }