Minor changes to help

This commit is contained in:
G2-Games 2022-12-20 20:43:35 -06:00
parent 7c248ad649
commit 986a08a56a

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
ver=0.0.1 version=0.0.1
clipboarddir=/tmp/clipboardsh clipboarddir=/tmp/clipboardsh
clipboardfile=/tmp/clipboardsh/clipboard clipboardfile=/tmp/clipboardsh/clipboard
op=$1 op=$1
@ -166,11 +166,13 @@ help () {
cut [file] : Cut a file cut [file] : Cut a file
paste [clip #] : Paste a file paste [clip #] : Paste a file
clear : Clear the clipboard clear : Clear the clipboard
remove [clip #] : remove [clip #] : Remove a certain clip from the clipboard
list : Show the copied files (default) list : Show the copied files (default)
help : Displays the help
" "
} }
# Check for the requested operation
if [ "$op" = "copy" ] || [ "$op" = "cp" ]; then if [ "$op" = "copy" ] || [ "$op" = "cp" ]; then
copy copy
elif [ "$op" = "cut" ] || [ "$op" = "ct" ]; then elif [ "$op" = "cut" ] || [ "$op" = "ct" ]; then