git-annex/CmdLine
Joey Hess 07c108e70e fix bash completion of filenames containing spaces
Work around https://github.com/pcapriotti/optparse-applicative/issues/146
by not using action "file" and instead passing -o bashdefault -o default
to complete. This way, when optparse fails to complete a filename, bash
will fall back to regular filename completion.

Unfortunately, optparse-applicative does not provide a way to control the
options passed to complete, so I had to modify its generated completion script.

Note that for "git annex" command completion, git's completion script already
used -o bashdefault -o default, so that works too.
2015-07-20 11:17:35 -04:00
..
GitAnnex fix bash completion of filenames containing spaces 2015-07-20 11:17:35 -04:00
GitAnnexShell update my email address and homepage url 2015-01-21 12:50:09 -04:00
Action.hs started converting to use optparse-applicative 2015-07-08 13:36:25 -04:00
Batch.hs converted ContentLocation, ExampleKey, LookupKey 2015-07-11 20:43:45 -04:00
GitAnnex.hs wire tasty's option parser into the main program option parser 2015-07-13 13:20:10 -04:00
GitAnnexShell.hs finished converting all the main options 2015-07-10 13:23:06 -04:00
GlobalSetter.hs finished converting all the main options 2015-07-10 13:23:06 -04:00
Option.hs convert Unused, and remove some dead code for old style option parsing 2015-07-10 16:05:56 -04:00
Seek.hs convert Unused, and remove some dead code for old style option parsing 2015-07-10 16:05:56 -04:00
Usage.hs let optparse-applicative handle the usage display when run w/o command or bad command 2015-07-09 11:52:47 -04:00