Open nus-se-bot opened 2 years ago
Implies you can only add either the student name or the nusnet id.
The interpretation of this is correct, because the user should only specify the student's name OR nusnet ID.
However, there is nothing wrong with the example given (addgroup -g T01A -n Hong Yao -i E0123456
) because the command format specifies
The ...
means that the argument can be specified more than once, as seen in the Notes section:
It is likely that the tester misunderstood the meaning of the example given, thinking that Hong Yao
and E0123456
refer to the same student, but in fact they are different students.
--
Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.
Given format in UG:
addgroup -g <group_name> [(-n <student_name> | -i <student_id>)]...
Implies you can only add either the student name or the nusnet id.
Actual examples:
addgroup -g T01A -n Hong Yao -i E0123456
Inputting both the student name and id.
[original: nus-cs2103-AY2122S1/pe-interim#5809] [original labels: severity.Medium type.DocumentationBug]