diff --git a/src/bin/add-bookmark b/src/bin/add-bookmark index 04fc155..5735fda 100755 --- a/src/bin/add-bookmark +++ b/src/bin/add-bookmark @@ -24,7 +24,7 @@ addUrl(){ } -while getopts ch: flag; do +while getopts ch flag; do case $flag in c)addUrl $(xclip -o) && exit 0;; h)usage;;