karlpauls commented on a change in pull request #18:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/18#discussion_r594400286



##########
File path: src/main/java/org/apache/sling/feature/launcher/impl/Main.java
##########
@@ -312,8 +359,15 @@ public static void main(final String[] args) {
 
         // check if launcher has already been created
         final LauncherConfig launcherConfig = new LauncherConfig();
-        parseArgs(launcherConfig, args);
-
+        Options options=  parseArgs(launcherConfig, args);
+
+        if(launcherConfig.getFeatureFiles().isEmpty()) {
+            Main.LOG().warn("Missing Feature-File(s). Please set an 
Feature-File to run.");
+            

Review comment:
       thats is fine - maybe re-throw the exception if it isn't because of a no 
features (just in case it had another cause).




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to