Closed z-huu closed 1 year ago
we should be outputting the errors in order from left to right; this means that before checking for too many arguments, we should instead search for s1. if s1 is found, then we'll check the next argument (check eof)
implemented a search immediately after taking in these names and an else if to catch whether or not these names exist; this would take place before checking the presence of following arguments. the implementation for all commands is similar to this
likely a problem with error precedence