summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <somasis@exherbo.org>2015-12-06 16:22:05 -0500
committerKylie McClain <somasis@exherbo.org>2015-12-06 16:22:05 -0500
commitc7469018de80788ce255502b1a05700ad0d71446 (patch)
treeb1ee51323445f426784771d58983c4d286a510dc
parentdaff6688d5ca542c2e6a6743900b93d92bcd7988 (diff)
downloadwget-curl-master.tar.gz
wget-curl-master.tar.xz
wget-curl-master.zip
exit after printing help/versionHEADmaster
-rwxr-xr-xwget2
1 files changed, 2 insertions, 0 deletions
diff --git a/wget b/wget
index 928f45d..2126c3e 100755
--- a/wget
+++ b/wget
@@ -89,10 +89,12 @@ Compile:
Link:
${wget_compile}
EOF
+ exit 0
}
wget_help() {
echo "yep"
+ exit 0
}
set -- $(getopt -n wget -o 'VhcO:T:t:qH:' -l 'version,help,continue,output-document:,timeout:,tries:,quiet,post-data:,post-file:,header:' -- $@)