Jump to content

Make the CLI case-insensitive


andrewm

Recommended Posts

I tried to change the IP configuration of my ISY and encountered all sorts of problems until I realized that it was being case-sensitive. So "Y" was not the same as "y"! This was made even worse because the default values in the prompts seemed to indicate the changes had been made, but they hadn't.

 

So either make the user input case-insensitive, or filter out and report invalid keystrokes.

Link to comment

andrewm,

 

CLI actually does report invalid input. Changing the IP was the only instance that this was not the case?

 

With kind regards,

Michel

 

I tried to change the IP configuration of my ISY and encountered all sorts of problems until I realized that it was being case-sensitive. So "Y" was not the same as "y"! This was made even worse because the default values in the prompts seemed to indicate the changes had been made, but they hadn't.

 

So either make the user input case-insensitive, or filter out and report invalid keystrokes.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...