From 9deee838c9d3d7c1bd1270f3083260106c9c4e80 Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Thu, 4 Nov 2021 20:07:43 +0100 Subject: [PATCH] v1.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- reStream.sh | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6609f49..3aa3f32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,7 +204,7 @@ dependencies = [ [[package]] name = "restream" -version = "1.1.0" +version = "1.2.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 49bb155..5131f6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "restream" -version = "1.1.0" +version = "1.2.0" authors = ["Rien Maertens "] edition = "2018" diff --git a/reStream.sh b/reStream.sh index 1973c88..f750914 100755 --- a/reStream.sh +++ b/reStream.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Current reStream.sh version +version="1.2.0" + # default values for arguments remarkable="10.11.99.1" # remarkable connected through USB landscape=true # rotate 90 degrees to the right @@ -15,6 +18,10 @@ unsecure_connection=false # Establish a unsecure connection that is faster # loop through arguments and process them while [ $# -gt 0 ]; do case "$1" in + -v | --version) + echo "reStream version: v$version" + exit + ;; -p | --portrait) landscape=false shift