The script now checks immediately if the returned command matches the designated failure message before proceeding with further actions like explanation or option printing.
This modification ensures that if the input prompt is unclear, the script directly outputs a clear error message and exits without executing additional unnecessary steps, aligning better with user expectations and reducing confusion.
This change improves user experience by providing immediate feedback on input validity and makes the script's flow more logical and efficient.
The script now checks immediately if the returned command matches the designated failure message before proceeding with further actions like explanation or option printing.
This modification ensures that if the input prompt is unclear, the script directly outputs a clear error message and exits without executing additional unnecessary steps, aligning better with user expectations and reducing confusion.
This change improves user experience by providing immediate feedback on input validity and makes the script's flow more logical and efficient.
Resolves #52
Signed-off-by: Cornelius Roemer cornelius.roemer@gmail.com