diff options
Diffstat (limited to 'commands/ls-labels.go')
-rw-r--r-- | commands/ls-labels.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/ls-labels.go b/commands/ls-labels.go index 49f4c7cb..9dd94f08 100644 --- a/commands/ls-labels.go +++ b/commands/ls-labels.go @@ -29,7 +29,8 @@ var lsLabelCmd = &cobra.Command{ Long: `List valid labels. Note: in the future, a proper label policy could be implemented where valid labels are defined in a configuration file. Until that, the default behavior is to return the list of labels already used.`, - RunE: runLsLabel, + PreRunE: loadRepo, + RunE: runLsLabel, } func init() { |