Slice the garlic and onion thinly.
Heat olive oil in a pan and sauté the garlic and onion.
Add tomatoes, pasta, and water, then bring to a boil.
Simmer while stirring until the pasta is cooked.
Season with salt and pepper.
Serve in a bowl and sprinkle with parsley.