diff options
Diffstat (limited to 'xlocate')
-rwxr-xr-x | xlocate | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlocate b/xlocate index 5892f55..7c0b2b8 100755 --- a/xlocate +++ b/xlocate @@ -91,6 +91,9 @@ if [ -n "$UPDATE" ]; then elif [ -n "$SYNC" ]; then xsyncgit exit $? +elif [ $# = 0 ]; then + usage + exit 1 fi if [ -d "$XLOCATE_GIT" ]; then |