summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment')
-rw-r--r--doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment b/doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment
new file mode 100644
index 000000000..c5eb45ffc
--- /dev/null
+++ b/doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment
@@ -0,0 +1,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.
+"""]]