From 0f7ff3a89637a36100b2c349a6a0f22115a508dd Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 29 Jun 2016 09:49:36 +0200 Subject: Add copyright notice into the -v/--version flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- g.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'g.sh') diff --git a/g.sh b/g.sh index a245c81..90a8dff 100644 --- a/g.sh +++ b/g.sh @@ -112,7 +112,13 @@ g() { # Parse the command. case "$cmd" in -v | --version) - echo "g version $version" + cat < +License GPLv3+: GNU GPL version 3 or later . +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +HERE ;; -h | --help) __g_help -- cgit v1.2.3