List help topics when invalid topic is requested#3088
Merged
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom Dec 13, 2017
Merged
List help topics when invalid topic is requested#3088ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
Conversation
Contributor
|
Topics should probably be listed in |
Codecov Report
@@ Coverage Diff @@
## master #3088 +/- ##
==========================================
- Coverage 85.83% 85.79% -0.04%
==========================================
Files 36 36
Lines 8943 8948 +5
Branches 1482 1482
==========================================
+ Hits 7676 7677 +1
- Misses 856 861 +5
+ Partials 411 410 -1
Continue to review full report at Codecov.
|
Member
Member
Contributor
Author
|
Apologies for not replying earlier. |
Member
|
I've looked at it again. We need both:
|
Member
|
thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, the available help topics are only listed manually, scattered throughout different parts of the documentation.
It would be helpful to have an option for
borg helpthat lists all available topics (e.g.borg help --list-topics).Until that's implemented, this commit adds a list of available topics to the "topic not found" error message.
This might also remain useful even after the separate flag has been added. Alternatively, we could replace the list with a mention of the new
--list-topicsonce that exists.