Open superkaiba opened 1 year ago
[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]
Here, the program does not make the assumption that the format is wrong. it assumes the user tries to give an input for the secret name that includes a ' ' and '/' character in the secret name. In reality, there is no real way for the program to tell the difference, because in our program only the "o/", "c/" and "f/" are assumed to parts of any command. This was designed to minimise restrictions for users but still allow data to be easily written and retrievable/ findable.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your reason]
If the desired format for the "new" command is not followed, (i.e.
new [o/OPTION] SECRET_NAME [f/FOLDER_NAME]
) then the error message given isIllegal Secret Name: Please use only alphanumeric numbers and '_'
when the real source of the error is that the format for the "new" command is not followed.Steps to reproduce:
new o/StudentID test s/abc
Screenshot: