Logo Search packages:      
Sourcecode: jlha-utils version File versions  Download package

void org::jlhafrontend::JLHAFrontEnd::usage ( String[]  args  )  [inline]

show usage data

Parameters:
args command-line args

Definition at line 1587 of file JLHAFrontEnd.java.

Referenced by start().

                                     {
      int i,j,k;

      String[] cmds = { "commands:", " a   Add to archive", " x,e Extract from archive", " l,v List / Verbose list", " u   Update newer files to archive", " d   Delete from archive", " m   Move to archive", " c   Create new archive", " p   Print to STDOUT from archive", " t   Test archive"  };
      String[] opts = { "options:", " q{num} quiet mode", " v  verbose", " n  not execute" , " f  force", " t  FILES are TEXT files" , " o[567] compression method (a/u)", " w=<dir> specify working directory" ," d  delete files after (a/u/c)", " i  ignore directory path (x/e)", " z  files not compress (a/u)", " e  TEXT code convert from/to EUC-JP" , " y  filename multibyte convert"  };
      System.out.print(ListFormatter._toField("jLHA",27,true));
      System.out.println("Copyright(C) 2002  Michel Ishizuka");
      System.out.print(ListFormatter._toField("jlhafrontend",27,true));
      System.out.println("Copyright(C) 2006  Ying-Chun Liu");
      System.out.println("usage: JLHAFrontEnd [-]{axelvudmcpt[q[num]][vnfodizg012]}[w=<dir>] archive_file [file...]");

      for (i=0 ; i<cmds.length || i<opts.length ; i++) {
          k=0;
          if (i<cmds.length) {
            System.out.print(cmds[i]);
            k=cmds[i].length();
          }
          for (j=0 ; j<40-k; j++) {
            System.out.print(" ");
          }
          if (i<opts.length) {
            System.out.print(opts[i]);
          }
          System.out.println("");
      }
      
    }


Generated by  Doxygen 1.6.0   Back to index