#!/usr/bin/env bash . "$(dirname "$0")/testlib.sh" begin_test "usage: no command specified" ( set -e git lfs | grep 'git lfs \[\]' git lfs -h | grep 'git lfs \[\]' git lfs help | grep 'git lfs \[\]' # Note that "git lfs --help" is handled by Git, not Git LFS. git lfs --foo -h | grep 'git lfs \[\]' git lfs --foo --help | grep 'git lfs \[\]' git-lfs | grep 'git lfs \[\]' git-lfs -h | grep 'git lfs \[\]' git-lfs help | grep 'git lfs \[\]' git-lfs --help | grep 'git lfs \[\]' git-lfs --foo -h | grep 'git lfs \[\]' git-lfs --foo --help | grep 'git lfs \[\]' ) end_test