changed help format

This commit is contained in:
2020-08-05 04:22:41 +02:00
parent fc3e637221
commit d0f29fa001
2 changed files with 4 additions and 23 deletions
+2 -12
View File
@@ -84,7 +84,7 @@ function compressor()
function help() function help()
{ {
echo "" # echo ""
echo "Help:" echo "Help:"
echo "-----" echo "-----"
echo "" echo ""
@@ -97,15 +97,7 @@ function help()
echo "$ lch file.zip -Decompress" echo "$ lch file.zip -Decompress"
echo "" echo ""
echo "Supported extensions:" echo "Supported extensions:"
echo "- tar" echo " tar, tar.gz, tar.bz2, tar.xz, bz2, tgz, gz, zip, 7z"
echo "- tar.gz"
echo "- tar.bz2"
echo "- tar.xz"
echo "- bz2"
echo "- tgz"
echo "- gz"
echo "- zip"
echo "- 7z"
echo "" echo ""
echo "Run 'man lch' for more info." echo "Run 'man lch' for more info."
echo "" echo ""
@@ -130,8 +122,6 @@ fi
if [ -z "$DEST" ] if [ -z "$DEST" ]
then then
echo "Wrong arguments"
echo ""
help help
exit 1 exit 1
else else
+1 -10
View File
@@ -12,15 +12,7 @@ extension.
Supported extensions: Supported extensions:
- tar tar, tar.gz, tar.bz2, tar.xz, bz2, tgz, gz, zip, 7z
- tar.gz
- tar.bz2
- tar.xz
- bz2
- tgz
- gz
- zip
- 7z
.SH OPTIONS .SH OPTIONS
.TP .TP
@@ -47,4 +39,3 @@ Report your bugs at <gore@hatthieves.es>
\fBlch\fP are by Gustavo Adolfo Mesa Roldan <gore@hackthieves.es.> \fBlch\fP are by Gustavo Adolfo Mesa Roldan <gore@hackthieves.es.>
This document is by radikal <radikal@disroot.org>. This document is by radikal <radikal@disroot.org>.