jdk/src/windows/classes/sun/security/krb5/internal/tools/Ktab.java
changeset 7296 fa827ef8c75e
parent 7037 9fd3887c8010
child 9499 f3115698a012
equal deleted inserted replaced
7295:d638f099196f 7296:fa827ef8c75e
   127             break;
   127             break;
   128         case 'd':
   128         case 'd':
   129             ktab.deleteEntry();
   129             ktab.deleteEntry();
   130             break;
   130             break;
   131         default:
   131         default:
   132             ktab.printHelp();
   132             ktab.error("A command must be provided");
   133         }
   133         }
   134     }
   134     }
   135 
   135 
   136     /**
   136     /**
   137      * Parses the command line arguments.
   137      * Parses the command line arguments.
   230                         break;
   230                         break;
   231                     case "-append": // -a, new keys append to file
   231                     case "-append": // -a, new keys append to file
   232                         append = true;
   232                         append = true;
   233                         break;
   233                         break;
   234                     default:
   234                     default:
   235                         printHelp();
   235                         error("Unknown command: " + args[i]);
   236                         break;
   236                         break;
   237                 }
   237                 }
   238             } else {    // optional standalone arguments
   238             } else {    // optional standalone arguments
   239                 if (argAlreadyAppeared) {
   239                 if (argAlreadyAppeared) {
   240                     error("Useless extra argument " + args[i]);
   240                     error("Useless extra argument " + args[i]);