From 290072ff98fa0091f60add5ba41ebfb49b1477fb Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Wed, 31 Aug 2022 08:46:26 -0700 Subject: [PATCH] Release 0.4.0 (#24) --- .github/workflows/ci.yml | 1 + shard.yml | 2 +- src/ws.cr | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa17d4e..f7c5c31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,7 @@ jobs: matrix: crystal_version: - 1.4.0 + - 1.5.0 - latest experimental: - false diff --git a/shard.yml b/shard.yml index b7dd167..b73a659 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: wordsmith -version: 0.3.0 +version: 0.4.0 authors: - Paul Smith diff --git a/src/ws.cr b/src/ws.cr index 051782d..41fd2ed 100755 --- a/src/ws.cr +++ b/src/ws.cr @@ -87,6 +87,11 @@ USAGE exit end + parser.on("-v", "--version", "Show Wordsmith version") do + puts Wordsmith::VERSION + exit + end + parser.invalid_option do |flag| STDERR.puts "ERROR: #{flag} is not a valid option.\n\n" STDERR.puts parser