Named arguments --like-this or short versions like -l should only be accepted if they are defined. I just tried using a cli script with an incorrectly named argument and it just ignored it... easy mistake to make, but it would have been nice to have been recognised by the system. An error message like Invalid argument supplied: "--something" would have been nice.
Named arguments
--like-thisor short versions like-lshould only be accepted if they are defined. I just tried using a cli script with an incorrectly named argument and it just ignored it... easy mistake to make, but it would have been nice to have been recognised by the system. An error message likeInvalid argument supplied: "--something"would have been nice.