From efd20cb40050f678660901d4c59bca2b9905efa6 Mon Sep 17 00:00:00 2001 From: Radhi Fadlillah Date: Thu, 8 Mar 2018 19:52:43 +0700 Subject: [PATCH] Add alias for print command --- cmd/print.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/print.go b/cmd/print.go index 1ae4723..3056054 100644 --- a/cmd/print.go +++ b/cmd/print.go @@ -16,6 +16,7 @@ var ( Long: "Show the saved bookmarks by its DB index. " + "Accepts space-separated list of indices (e.g. 5 6 23 4 110 45), hyphenated range (e.g. 100-200) or both (e.g. 1-3 7 9). " + "If no arguments, all records with actual index from DB are shown.", + Aliases: []string{"list", "ls"}, Run: func(cmd *cobra.Command, args []string) { // Read flags useJSON, _ := cmd.Flags().GetBool("json")