				echo "    -c [CHANNEL]    Channel to use (stable/beta). Defaults to stable."
				echo "    -d              Debug mode"
				echo "    -u              Uninstall instead"
				exit 0
				;;
			: )
				echo "Invalid option: $OPTARG requires an argument" 1>&2
				;;
		esac
	done

	SUDO=''
	if [ "$(id -u)" != "0" ]; then