mirror of
https://github.com/G2-Games/clipboard.sh.git
synced 2025-04-19 06:12:54 -05:00
Minor changes to help
This commit is contained in:
parent
7c248ad649
commit
986a08a56a
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue