Added back the -b option in the short help. Cosmetics.
authorFrancois Fleuret <francois@fleuret.org>
Tue, 17 Mar 2009 15:07:59 +0000 (16:07 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 17 Mar 2009 15:07:59 +0000 (16:07 +0100)
selector.cc

index ebbd021..2725c2b 100644 (file)
@@ -438,13 +438,13 @@ int main(int argc, char **argv) {
       i++;
     }
 
-    else if(strcmp(argv[i], "-z") == 0) {
-      zsh_history = 1;
+    else if(strcmp(argv[i], "-b") == 0) {
+      bash_history = 1;
       i++;
     }
 
-    else if(strcmp(argv[i], "-b") == 0) {
-      bash_history = 1;
+    else if(strcmp(argv[i], "-z") == 0) {
+      zsh_history = 1;
       i++;
     }
 
@@ -496,6 +496,7 @@ int main(int argc, char **argv) {
          << " [-m]"
          << " [-d]"
          << " [-e]"
+         << " [-b]"
          << " [-z]"
          << " [-i]"
          << " [-c <fg modeline> <bg modeline> <fg highlight> <bg highlight>]"