mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-18 02:40:33 +02:00
Better organize the cobra generated help page
This commit is contained in:
@@ -15,8 +15,9 @@ import (
|
||||
)
|
||||
|
||||
var saveHistoryEntryCmd = &cobra.Command{
|
||||
Use: "saveHistoryEntry",
|
||||
// TODO: hide this from the help info?
|
||||
Use: "saveHistoryEntry",
|
||||
Hidden: true,
|
||||
Short: "[Internal-only] The command used to save history entries",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
ctx := hctx.MakeContext()
|
||||
lib.CheckFatalError(maybeUploadSkippedHistoryEntries(ctx))
|
||||
|
Reference in New Issue
Block a user