mirror of
https://github.com/alrayyes/st.git
synced 2024-11-26 21:06:23 +00:00
Make st work with a plain -e command.
This commit is contained in:
parent
b1813b14d9
commit
684cf55a0d
1 changed files with 2 additions and 1 deletions
3
st.c
3
st.c
|
@ -3332,7 +3332,8 @@ main(int argc, char *argv[]) {
|
|||
break;
|
||||
case 'e':
|
||||
/* eat all remaining arguments */
|
||||
opt_cmd = &argv[1];
|
||||
if(argc > 1)
|
||||
opt_cmd = &argv[1];
|
||||
goto run;
|
||||
case 'f':
|
||||
opt_font = EARGF(usage());
|
||||
|
|
Loading…
Reference in a new issue