Fix: Issue with sorting commits after specifying hash.

This commit is contained in:
2021-05-09 20:20:04 +01:00
parent dc22f7c281
commit af71c23260
5 changed files with 69 additions and 26 deletions
+2
View File
@@ -58,6 +58,7 @@ var (
varRepoName, varLocalCfg string
varUseLocal bool
varShowVersion bool
varDebug bool
)
func init() {
@@ -68,5 +69,6 @@ func init() {
rootCmd.PersistentFlags().StringVarP(&varLocalCfg, "config", "c", "config.yaml", "Path to config file")
rootCmd.PersistentFlags().BoolVarP(&varUseLocal, "local", "l", false, "Use local repository")
rootCmd.PersistentFlags().BoolVarP(&varShowVersion, "version", "v", false, "Display version")
rootCmd.PersistentFlags().BoolVarP(&varDebug, "debug", "d", false, "Enable debug mode")
}
}