From: Francois Fleuret Date: Tue, 17 Mar 2009 15:07:59 +0000 (+0100) Subject: Added back the -b option in the short help. Cosmetics. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=06d791c1683465286307455c17b44f8002bbf216;p=selector.git Added back the -b option in the short help. Cosmetics. --- diff --git a/selector.cc b/selector.cc index ebbd021..2725c2b 100644 --- a/selector.cc +++ b/selector.cc @@ -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 ]"