Browse Source

Make st work with a plain -e command.

master
Christoph Lohmann 12 years ago
parent
commit
684cf55a0d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      st.c

+ 2
- 1
st.c View File

@ -3332,7 +3332,8 @@ main(int argc, char *argv[]) {
break; break;
case 'e': case 'e':
/* eat all remaining arguments */ /* eat all remaining arguments */
opt_cmd = &argv[1];
if(argc > 1)
opt_cmd = &argv[1];
goto run; goto run;
case 'f': case 'f':
opt_font = EARGF(usage()); opt_font = EARGF(usage());


Loading…
Cancel
Save