diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-10 13:49:37 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-10 13:49:37 -0400 |
commit | 94642d1b1907a379181e25e298910b9c09fd5adf (patch) | |
tree | b70c059ae6268e6816f7b5823f660649575d16dd | |
parent | 19a3a331c35238a10ec2c537cf64d0b4c1fb290c (diff) |
doc updates
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | doc/git-annex.mdwn | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index a357e3fe6..e0a4de90f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ + * Switched option parsing to use optparse-applicative. This was a very large + and invasive change, and may have caused some minor behavior changes to + edge cases of option parsing. + * Bash completion code is built-in to git-annex, and can be enabled by + running: source <(git-annex --bash-completion-script git-annex) + * version --raw now works when run outside a git repository. + git-annex (5.20150618) UNRELEASED; urgency=medium * log: Fix reversion introduced in version 5.20150528 that broke this command. diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 73894c0d8..e3790bdf9 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -763,6 +763,18 @@ may not be explicitly listed on their individual man pages. Overrides git configuration settings. May be specified multiple times. +# COMMAND-LINE TAB COMPLETION + +To enable bash completion, paste this into your shell prompt: + + source <(git-annex --bash-completion-script git-annex) + +The output of "git-annex --bash-completion-script git-annex" can also +be written to a bash completion file so bach loads it automatically. + +This bash completion is generated by the option parser, so it covers all +commands, all options, and will never go out of date! + # CONFIGURATION VIA .git/config Like other git commands, git-annex is configured via `.git/config`. |