]> andersk Git - moira.git/blobdiff - clients/stanley/stanley.c
tcsh is dead. Long live bash.
[moira.git] / clients / stanley / stanley.c
index bec3006d70008c4e81e4a6b4be0ac9a1298c6583..e12cf334460b308f838ce7391f2dea3c1aaf27a6 100644 (file)
@@ -327,7 +327,7 @@ int main(int argc, char **argv)
       char *argv[20];
       int cnt;
 
-      for (cnt = 0; cnt < 14; cnt++) {
+      for (cnt = 0; cnt < 20; cnt++) {
        argv[cnt] = "";
       }
 
@@ -342,7 +342,7 @@ int main(int argc, char **argv)
       if (shell)
        argv[U_SHELL] = shell;
       else
-       argv[U_SHELL] = "/bin/athena/tcsh";
+       argv[U_SHELL] = "/bin/athena/bash";
       if (winshell)
        argv[U_WINCONSOLESHELL] = winshell;
       else
@@ -849,10 +849,11 @@ void usage(char **argv)
   fprintf(stderr, USAGE_OPTIONS_FORMAT, "-wh  | -winhomedir winhomedir",
          "-wp  | -winprofiledir winprofiledir");
   fprintf(stderr, USAGE_OPTIONS_FORMAT, "-sp  | -sponsor sponsor",
-         "-u   | -unformatted");
-  fprintf(stderr, USAGE_OPTIONS_FORMAT, "-n   | -noauth",
-         "-v   | -verbose");
-  fprintf(stderr, "  %-39s\n", "-db  | -database host[:port]");
+         "-e   | -expiration expiration date");
+  fprintf(stderr, USAGE_OPTIONS_FORMAT, "-u   | -unformatted",
+          "-n   | -noauth");
+  fprintf(stderr, USAGE_OPTIONS_FORMAT, "-v   | -verbose",
+         "-db  | -database host[:port]");
 
   exit(1);
 }
This page took 0.033396 seconds and 4 git commands to generate.