-
-
Notifications
You must be signed in to change notification settings - Fork 823
List help topics when invalid topic is requested #3088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ThomasWaldmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
|
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.
|
|
Apologies for not replying earlier. |
|
I've looked at it again. We need both:
|
|
thanks! |
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.