You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ensure values are not empty or whitespace only strings
222
229
if(value.trim()===''){
223
-
constdetails=`flag ${option} cannot have an empty value or contain only whitespace. Please provide a valid value for ${option}`;
230
+
constdetails=`flag ${option} cannot start with a space, as leading whitespace is not allowed. Please provide a valid value for ${option} without leading spaces`;
@@ -2233,7 +2229,7 @@ async function exec_manage_cli_add_empty_option(command, option) {
2233
2229
}
2234
2230
2235
2231
/**
2236
-
* exec_manage_cli_add_leading_space_option adds a flag with value having leading space
2232
+
* exec_manage_cli_add_leading_space_option modifies the command by appending a flag with a value that includes a leading space to test CLI parsing behavior
0 commit comments