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
1
st.c
1
st.c
|
@ -3332,6 +3332,7 @@ main(int argc, char *argv[]) {
|
||||||
break;
|
break;
|
||||||
case 'e':
|
case 'e':
|
||||||
/* eat all remaining arguments */
|
/* eat all remaining arguments */
|
||||||
|
if(argc > 1)
|
||||||
opt_cmd = &argv[1];
|
opt_cmd = &argv[1];
|
||||||
goto run;
|
goto run;
|
||||||
case 'f':
|
case 'f':
|
||||||
|
|
Loading…
Reference in a new issue