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
Hi, the command addmod n/John m/CS2103T cl/G01,T5 which you have entered is indeed an invalid command as you did not specify the class types along with the class numbers.
The correct command for your case should be addmod n/John m/CS2103T cl/LEC:G01 instead (note that there is no class with class number T5 according to the data we have acquired from NUSMods).
The reason why you are required to specify both the class type and the class number for the cl/ parameter is because the class number alone is not sufficient to uniquely identify a class - there are some modules which has the same class number, e.g. 01, for both a lecture and a tutorial, which means you'll have to use cl/LEC:01,TUT:01 to add those classes correctly.
ScreenShot:
Given the following explaination,
After registering a person named 'John', the execution of the following command should not throw an "invalid command format" error:
addmod n/John m/CS2103T cl/G01,T5
[original: nus-cs2103-AY1920S1/pe-interim#4238]
The text was updated successfully, but these errors were encountered: