File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed 
app/src/main/java/io/seqera/wave/cli Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,12 @@ public static void main(String[] args) {
205205            }
206206            else  if ( result .isVersionHelpRequested () ) {
207207                System .out .println (BuildInfo .getFullVersion ());
208+                 return ;
208209            }
209-             else  if ( app .info  ) {
210+ 
211+             app .setLogLevel ();
212+             app .defaultArgs ();
213+             if ( app .info  ) {
210214                app .printInfo ();
211215            }
212216            else  {
@@ -388,9 +392,6 @@ protected SubmitContainerTokenRequest createRequest() {
388392
389393    @ Override 
390394    public  void  run () {
391-         setLogLevel ();
392-         // default Args 
393-         defaultArgs ();
394395        // validate the command line args 
395396        validateArgs ();
396397        // prepare the request 
@@ -654,8 +655,6 @@ protected String condaLock() {
654655    }
655656
656657    void  printInfo () {
657-         setLogLevel ();
658-         defaultArgs ();
659658        System .out .println (String .format ("Client:" ));
660659        System .out .println (String .format (" Version   : %s" , BuildInfo .getFullVersion ()));
661660        System .out .println (String .format (" System    : %s" , System . getProperty ("os.name" )));
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments