Added back the -b option in the short help. Cosmetics.
[selector.git] / 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>]"