* @param client
	 */
	private void cmd_flags(final String arg, final Client client) {
		MUDObject m;

		if (arg.charAt(0) == '#') {
			m = getObject(Utils.toInt(arg.substring(1), -1));
		}
		else if (Character.isDigit(arg.charAt(0))) {
			m = getObject(Utils.toInt(arg, -1));
		}
		else {
			m = getObject(arg);
		}

		if (m != null) {
			debug( ObjectFlag.toInitString( m.getFlags() ) );
			debug("" + m.getDBRef());
			client.writeln("Flags: " + ObjectFlag.toInitString(m.getFlags()));
		}
	}