Añadida página man y cambios en install.sh y lch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
VERSION=0.1r6
|
||||
VERSION=0.1r7
|
||||
|
||||
if [ "$1" = "version" ] || [ "$1" = "--version" ] || [ "$1" = "-v" ]
|
||||
then
|
||||
@@ -12,7 +12,7 @@ else
|
||||
echo ""
|
||||
fi
|
||||
|
||||
function descompressor()
|
||||
function decompressor()
|
||||
{
|
||||
case $1 in
|
||||
*.tar)
|
||||
@@ -40,7 +40,7 @@ function descompressor()
|
||||
7za e $1
|
||||
;;
|
||||
*)
|
||||
echo "Extent not found."
|
||||
echo "Extension not found."
|
||||
echo "For more information --help"
|
||||
echo ""
|
||||
;;
|
||||
@@ -118,6 +118,14 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "version" ] || [ "$1" = "--version" ] || [ "$1" = "-v" ]
|
||||
then
|
||||
echo ""
|
||||
echo "lch $VERSION"
|
||||
echo ""
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "$1" ] || [ -n "$3" ]
|
||||
then
|
||||
echo "Wrong arguments"
|
||||
@@ -132,9 +140,9 @@ else
|
||||
echo ""
|
||||
compressor $1 $2
|
||||
else
|
||||
echo "Descompressor:"
|
||||
echo "Decompressor:"
|
||||
echo "--------------"
|
||||
echo ""
|
||||
descompressor $1
|
||||
decompressor $1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user