Skip to content

Commit

Permalink
Merge branch 'vis-open' of https://github.com/Pyrohh/vis into master
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Jan 9, 2016
2 parents fc9bbd5 + 765e455 commit 44c7b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vis-open
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PATTERN="."
while [ $# -gt 0 ]; do
case "$1" in
-h|--help)
echo "usage: $0 [-h] [-p prompt] [file-pattern]"
echo "usage: $(basename $0) [-h] [-p prompt] [file-pattern]"
exit 0;
;;
-p)
Expand All @@ -26,7 +26,7 @@ if ! type "$VIS_MENU" >/dev/null 2>&1; then
if [ ! -z "$DISPLAY" ] && type "dmenu" >/dev/null 2>&1; then
VIS_MENU="dmenu"
else
echo "Neither slmenu nor dmenu found"
echo "Neither slmenu nor dmenu found" >&2
exit 1
fi
fi
Expand Down

0 comments on commit 44c7b44

Please sign in to comment.