1
0
Selaa lähdekoodia

SUBMARINE-57. Add more elaborate message if submarine command is not recognized. Contributed by Adam Antal

Szilard Nemeth 5 vuotta sitten
vanhempi
commit
e5f4cd0fda

+ 1 - 1
hadoop-submarine/hadoop-submarine-core/src/main/java/org/apache/hadoop/yarn/submarine/client/cli/Cli.java

@@ -100,7 +100,7 @@ public class Cli {
       }
     } else {
       printHelp();
-      throw new IllegalArgumentException("Bad parameters <TODO>");
+      throw new IllegalArgumentException("Unrecognized option: " + args[0]);
     }
   }
 }