*            the client that sent the command
	 */
	private void cmd_listprops(final String arg, final Client client) {
		Player player = getPlayer(client);
		Room room = getRoom( player.getLocation() );

		debug("ARG: " + arg);

		final String[] args = arg.split("=");

		MUDObject object = null;

		// get the specified objects
		if (args[0].toLowerCase().equals("here")) {
			object = room;
		}
		else if (args[0].toLowerCase().equals("me")) {
			object = player;
		}
		else {
			int dbref = Utils.toInt(args[0], -1); // parse string to get dbref

			if (dbref != -1) object = getObject(dbref);   // get object by dbref
			else             object = getObject(args[0]); // get object by name
		}

		Map<String, String> props = null;

		if (object != null) {
			props = object.getProperties();
			
			send(colors(object.getName(), getDisplayColor(object.type)) + " (#" + object.getDBRef() + ")" + colorCode("white"), client);

			if (args.length == 2) {
				System.out.println("ARG0: \'" + args[0] + "\'");
				System.out.println("ARG1: \'" + args[1] + "\'");

				for (final String key : props.keySet()) {
					if (key.startsWith(args[1])) {
						send(key + " " + props.get(key), client);
					}
				}
			}
			else {
				for (final String key : props.keySet()) {
					send(key + " " + props.get(key), client);
				}
			}

			// System.out.println("KEY: \'" + key + "\'");
		}
	}