From 106b97e1053efe4627fe111a0c7cf2b5fb12989b Mon Sep 17 00:00:00 2001 From: Malte Schulze Hobeling Date: Thu, 2 Feb 2023 15:21:14 +0100 Subject: [PATCH] set "password" for cli --- .../java/com/bib/essensbestellungsverwaltung/SuperMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java b/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java index d37042c..bc28431 100644 --- a/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java +++ b/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java @@ -7,7 +7,7 @@ package com.bib.essensbestellungsverwaltung; */ public class SuperMain { public static void main(String[] args) { - if(args.length > 0){ + if(args.length > 0 && args[0].equals("Here be dragons")){ ConsoleMain.main(args); }else { StartViewApplication.main(args);