From 986a08a56adea56a2035f5834b24ad3249f0ba85 Mon Sep 17 00:00:00 2001 From: G2-Games Date: Tue, 20 Dec 2022 20:43:35 -0600 Subject: [PATCH] Minor changes to help --- clipboard.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clipboard.sh b/clipboard.sh index c7c4513..ee6eabb 100755 --- a/clipboard.sh +++ b/clipboard.sh @@ -1,5 +1,5 @@ #!/bin/sh -ver=0.0.1 +version=0.0.1 clipboarddir=/tmp/clipboardsh clipboardfile=/tmp/clipboardsh/clipboard op=$1 @@ -166,11 +166,13 @@ help () { cut [file] : Cut a file paste [clip #] : Paste a file clear : Clear the clipboard - remove [clip #] : + remove [clip #] : Remove a certain clip from the clipboard list : Show the copied files (default) + help : Displays the help " } +# Check for the requested operation if [ "$op" = "copy" ] || [ "$op" = "cp" ]; then copy elif [ "$op" = "cut" ] || [ "$op" = "ct" ]; then