Registers list command
Fix syntax error