Browse Source

changed help format

master
radikal 3 years ago
parent
commit
d0f29fa001
2 changed files with 4 additions and 23 deletions
  1. +2
    -12
      lch
  2. +2
    -11
      lch.1

+ 2
- 12
lch View File

@ -84,7 +84,7 @@ function compressor()
function help()
{
echo ""
# echo ""
echo "Help:"
echo "-----"
echo ""
@ -97,15 +97,7 @@ function help()
echo "$ lch file.zip -Decompress"
echo ""
echo "Supported extensions:"
echo "- tar"
echo "- tar.gz"
echo "- tar.bz2"
echo "- tar.xz"
echo "- bz2"
echo "- tgz"
echo "- gz"
echo "- zip"
echo "- 7z"
echo " tar, tar.gz, tar.bz2, tar.xz, bz2, tgz, gz, zip, 7z"
echo ""
echo "Run 'man lch' for more info."
echo ""
@ -130,8 +122,6 @@ fi
if [ -z "$DEST" ]
then
echo "Wrong arguments"
echo ""
help
exit 1
else


+ 2
- 11
lch.1 View File

@ -12,15 +12,7 @@ extension.
Supported extensions:
- tar
- tar.gz
- tar.bz2
- tar.xz
- bz2
- tgz
- gz
- zip
- 7z
tar, tar.gz, tar.bz2, tar.xz, bz2, tgz, gz, zip, 7z
.SH OPTIONS
.TP
@ -46,5 +38,4 @@ Report your bugs at <gore@hatthieves.es>
.SH AUTHOR
\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>.

Loading…
Cancel
Save