summaryrefslogtreecommitdiff
path: root/bin/bbackupquery/CommandCompletion.cpp
Commit message (Collapse)AuthorAge
* Move reusable code out of bin directories.Chris Wilson2015-12-13
| | | | | Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was always a hack, and really doesn't work with CMake.
* Reinstate the -o and -d options to bbackupquery list.Chris Wilson2014-09-04
| | | | Accidentally removed by the previous change to enhance sorting of list output.
* Changed many uses of BackupProtocolClient to BackupProtocolCallable.Chris Wilson2014-09-04
| | | | | | Makes way for more use of local protocol objects and protocol subclasses. Merged back changes from the test refactor branch to reduce diffs.
* Add option to sort results of bbackupquery ls command.Chris Wilson2014-08-15
| | | | | | | | | | The new default is to sort by name, with directories first. Put the documentation on the "ls" command, instead of the "list" command, since that's annoyed me too many times. The recursive list option is changed from "-r" to "-R", to match the shell ls command.
* Fix bbackupquery accepting a command starting with options.Chris Wilson2014-02-07
| | | | | | | This should never have been a valid command, but was accepted before, and silently ignored because it was treated as an empty command. This obscured bad quoting of bbackupquery command-line arguments, allowing commands to appear to work, but not do what you expected.
* bbackupquery readline improvements, thanks to Paolo Tosco:Chris Wilson2012-05-26
| | | | | | | | | | | Automatically quote filenames including spaces on the readline input. Ignore empty commands, don't generate a parse error message. Close cleanly and quietly when EOF is input (Ctrl+D). Simplify interactive mode code in bbackupquery.
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Eliminate nested macros to fix compile with MSVC 2010.Chris Wilson2011-03-26
|
* Separate the readline-specific stuff into CommandCompletion.cpp so thatChris Wilson2011-01-21
Boxi doesn't have to depend on readline to include BackupQueries.o.