diff options
author | Christoph Lohmann <20h@r-36.net> | 2015-05-10 15:19:48 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-05-10 15:19:48 +0200 |
commit | 980991fa6e7b737d54f8e5c60c26275890eb28ff (patch) | |
tree | 1bea33259c803f3ab4a34424d993cffb748ed12f | |
parent | ae1923d27533ff46400d93765e971558201ca1ee (diff) | |
download | st-980991fa6e7b737d54f8e5c60c26275890eb28ff.tar.gz |
Fix the new -e handling. An empty cmd has to work for backwards compatibility.
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4010,7 +4010,7 @@ main(int argc, char *argv[]) { opt_class = EARGF(usage()); break; case 'e': - if(argc > 1) + if(argc > 0) --argc, ++argv; goto run; case 'f': |