tiny beautification
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
set -e
|
||||
_help() {
|
||||
SELF=$( basename "$0" )
|
||||
echo "Fleese Clipboard v. {{ version }}
|
||||
echo "Flees Clipboard v.{{ version }}
|
||||
|
||||
Usage: $SELF [command] [name] [filename]
|
||||
|
||||
@@ -148,7 +148,6 @@ CMD=list
|
||||
[[ "$1" = "l" || "$1" = "list" ]] && { CMD=list; ARG1=$CMD; }
|
||||
[[ "$1" = "update" ]] && { _update_client; }
|
||||
[[ "$1" = "h" || "$1" = "help" ]] && _help
|
||||
[[ -n "$1" ]] && [[ -e "$STORAGE"/"$1" ]] && CMD=read
|
||||
# if stdout redirected, default to read
|
||||
[ -t 1 ] || CMD=read
|
||||
# if stdin comes from stream, default to write
|
||||
|
||||
Reference in New Issue
Block a user