Skip to content

Commit 4e13fdb

Browse files
committed
implement invalid commands
1 parent 00644db commit 4e13fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ int main() {
1010
std::cout << "$ ";
1111

1212
std::string input;
13-
string input = std::getline(std::cin, input);
13+
input = std::getline(std::cin, input);
1414
std::cout << input << ": command not found" << std::endl;
1515
}

0 commit comments

Comments
 (0)