summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/git_annex_help_options_not_piped_through_PAGER.mdwn1
-rw-r--r--doc/bugs/git_annex_help_options_not_piped_through_PAGER/comment_1_c581374b7581708da315e53338ef40c7._comment15
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_help_options_not_piped_through_PAGER.mdwn b/doc/bugs/git_annex_help_options_not_piped_through_PAGER.mdwn
index 167eb4e4c..312501471 100644
--- a/doc/bugs/git_annex_help_options_not_piped_through_PAGER.mdwn
+++ b/doc/bugs/git_annex_help_options_not_piped_through_PAGER.mdwn
@@ -32,3 +32,4 @@ remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar ho
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+> [[done]] per my comment --[[Joey]]
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.
+"""]]