Add comment to log file when run script without option
This commit is contained in:
parent
2dc2168de6
commit
ce51a5db7c
1 changed files with 1 additions and 0 deletions
|
|
@ -388,6 +388,7 @@ elif [ "$1" = "--backup" ]; then
|
|||
get_file_sizes
|
||||
|
||||
else
|
||||
echo -e "[Only show `basename $0` usage options]\n" >> ${LOGFILE}
|
||||
echo " USAGE:
|
||||
`basename $0` [options]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue