From 16bec0a5cb207effd9f12295901145f2f7589fa7 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Sun, 13 Nov 2016 17:58:16 +0800 Subject: [PATCH] Bump to 1.2.0 --- README.md | 2 +- openwrt/Makefile | 2 +- src/server.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 42ded48..06f74cb 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ USAGE: ttyd [options] [] VERSION: - 1.1.0 + 1.2.0 OPTIONS: --port, -p Port to listen (default: 7681, use `0` for random port) diff --git a/openwrt/Makefile b/openwrt/Makefile index 6f7c237..261c669 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ttyd -PKG_VERSION:=1.1.0 +PKG_VERSION:=1.2.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/src/server.c b/src/server.c index 86a72cb..44edae5 100644 --- a/src/server.c +++ b/src/server.c @@ -1,6 +1,6 @@ #include "server.h" -#define TTYD_VERSION "1.1.0" +#define TTYD_VERSION "1.2.0" volatile bool force_exit = false; struct lws_context *context; @@ -50,7 +50,7 @@ void print_help() { "VERSION:\n" " %s\n\n" "OPTIONS:\n" - " --port, -p Port to listen (default: 7681)\n" + " --port, -p Port to listen (default: 7681, use `0` for random port)\n" " --interface, -i Network interface to bind\n" " --credential, -c Credential for Basic Authentication (format: username:password)\n" " --uid, -u User id to run with\n" -- 2.43.4