Changeset 13454


Ignore:
Timestamp:
08/11/11 09:45:41 (10 years ago)
Author:
Mark Evenson
Message:

Tweak appearance and contents of help message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Interpreter.java

    r13440 r13454  
    242242    // ext:*command-line-argument-list*
    243243    private static void preprocessCommandLineArguments(String[] args)
    244 
    245244    {
    246245        LispObject arglist = NIL;
     
    655654        StringBuilder sb = new StringBuilder("Parameters:");
    656655        sb.append(sep);
    657         sb.append("--help displays this help");
    658         sb.append(sep);
    659         sb.append("--noinform suppresses the printing of version info");
    660         sb.append(sep);
    661         sb.append("--eval <form> evaluates the <form> before initializing REPL");
    662         sb.append(sep);
    663         sb.append("--load <file> loads the file <file> before initializing REPL");
    664         sb.append(sep);
    665         sb.append("--load-system-file <file> loads the system file <file> before initializing REPL");
    666         sb.append(sep);
    667         sb.append("--batch enables batch mode. The --load, --load-system-file and --eval parameters are handled, and abcl exits without entering REPL");
    668         sb.append(sep);
    669         sb.append("--noinit suppresses loading a .abclrc startup file");
     656        sb.append("--help").append(sep)
     657          .append("    Displays this message.");
     658        sb.append(sep);
     659        sb.append("--noinform").append(sep)
     660          .append("    Suppresses the printing of startup information and banner.");
     661        sb.append(sep);
     662        sb.append("--noinit").append(sep)
     663          .append("    Suppresses the loading of the '~/.abclrc' startup file.");
    670664        sb.append(sep);
    671         sb.append("--nosystem suppresses loading the system startup file");
    672         sb.append(sep);
    673         sb.append("-- alone prevents further argument handling");
     665        sb.append("--nosystem").append(sep)
     666          .append("    Suppresses loading the 'system.lisp' customization file. ");
     667        sb.append(sep);
     668        sb.append("--eval <FORM>").append(sep)
     669          .append("    Evaluates the <FORM> before initializing REPL.");
     670        sb.append(sep);
     671        sb.append("--load <FILE>").append(sep)
     672          .append("    Loads the file <FILE> before initializing REPL.");
     673        sb.append(sep);
     674        sb.append("--load-system-file <FILE>").append(sep)
     675          .append("    Loads the system file <FILE> before initializing REPL.");
     676        sb.append(sep);
     677        sb.append("--batch").append(sep)
     678          .append("    The process evaluates forms specified by arguments and possibly by those").append(sep)
     679          .append("    by those in the intialization file '~/.abcl', and then exits.");
     680        sb.append(sep);
     681        sb.append(sep);
     682        sb.append("The occurance of '--' copies the remaining arguments, unprocessed, into").append(sep)
     683          .append("the variable EXTENSIONS:*COMMAND-LINE-ARGUMENT-LIST*.");
    674684        sb.append(sep);
    675685       
Note: See TracChangeset for help on using the changeset viewer.