From f1c36e82b06ae59c5a0ea65090a709012573bafc Mon Sep 17 00:00:00 2001 From: Torsten Seemann Date: Thu, 18 Oct 2018 15:07:49 +1100 Subject: [PATCH] Add URL to -h, bump to 0.4.2 --- .travis.yml | 1 + any2fasta | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 780a36c..88ce285 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ script: - "! any2fasta" - "any2fasta -v" - "any2fasta -h" + - "any2fasta -h | grep github" - "! any2fasta -x" - "any2fasta /dev/null 2>&1 | grep 'ERROR'" - "any2fasta test.noseq.gff 2>&1 | grep 'ERROR'" diff --git a/any2fasta b/any2fasta index 838f6e5..9788860 100755 --- a/any2fasta +++ b/any2fasta @@ -7,9 +7,10 @@ use IO::Uncompress::AnyUncompress; #...................................................................................... -our $VERSION = "0.4.0"; +our $VERSION = "0.4.2"; our $EXE = basename($0); our $STDIN = '/dev/stdin'; # '-' will be replaced with this +our $URL = 'https://github.com/tseemann/any2fasta'; #...................................................................................... @@ -28,6 +29,7 @@ sub usage { " -n Replace ambiguous IUPAC letters with 'N'\n", " -l Lowercase the sequence\n", " -u Uppercase the sequence\n", + "HOMEPAGE\n $URL\n", "END\n"; exit($errcode); }