Fix typo causing ``fc -e'' to not work correctly. getopt() sets optarg,

not shoptarg.
This commit is contained in:
tjr 2002-06-02 08:34:09 +00:00
parent 0a9f255d03
commit 0930ee47eb

View File

@ -211,7 +211,7 @@ histcmd(int argc, char **argv)
(ch = getopt(argc, argv, ":e:lnrs")) != -1)
switch ((char)ch) {
case 'e':
editor = shoptarg;
editor = optarg;
break;
case 'l':
lflg = 1;