summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment
blob: c5eb45ffcf3be4ee0933d6939080087c9520390a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2017-08-28T17:31:03Z"
 content="""
"git annex help options" is not a thing in the current version of
git-annex. Please upgrade to a current version before filing bug reports.

git-annex outputs to stderr when it's run with invalid
parameters. So `git annex` will output to stderr (`2>&1 | less` to page
it). `git annex add --help` outputs to stdout since the user requested
usage help and didn't do anything wrong. `git annex help add` displays the
man page, which uses a pager. That is all consistent with git's
behavior, and is fairly typical for unix programs.
"""]]