By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account
  • The git-lfs command is unable to interpret the --help argument
  • The git lfs command, on the other hand, has no problem interpreting the --help command.
  • To Reproduce

    git-lfs asdf
    # Error: unknown command "asdf" for "git-lfs"
    # Run 'git-lfs --help' for usage.
    git-lfs --help
    # Sorry, no usage text found for "--help"

    Expected behavior

  • git lfs --help currently works fine, expected behavior occurs.
  • git lfs --help does not, returns Sorry, no usage text found for "--help"
  • System environment
    macOS Catalina v. 10.15.3 (latest
    git-lfs v. 2.10.0

    Output of git lfs env

    git-lfs/2.10.0 (GitHub; darwin amd64; go 1.13.6)
    git version 2.25.0
    LocalWorkingDir=
    LocalGitDir=
    LocalGitStorageDir=
    LocalMediaDir=lfs/objects
    LocalReferenceDirs=
    TempDir=lfs/tmp
    ConcurrentTransfers=8
    TusTransfers=false
    BasicTransfersOnly=false
    SkipDownloadErrors=false
    FetchRecentAlways=false
    FetchRecentRefsDays=7
    FetchRecentCommitsDays=0
    FetchRecentRefsIncludeRemotes=true
    PruneOffsetDays=3
    PruneVerifyRemoteAlways=false
    PruneRemoteName=origin
    LfsStorageDir=lfs
    AccessDownload=none
    AccessUpload=none
    DownloadTransfers=basic,lfs-standalone-file
    UploadTransfers=basic,lfs-standalone-file
    git config filter.lfs.process = ""
    git config filter.lfs.smudge = ""
    git config filter.lfs.clean = ""
    

    Additional Information
    (Tried on multiple users on macOS, tried on bash and zsh, tried on macOS and on Ubuntu, same result in all cases.