From 9bb980e9de1ec3764069ae70baf0c2458e7c35a4 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 10 Sep 2018 18:16:16 +0200 Subject: ls: support expressing a query with flags as well --- commands/label.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'commands/label.go') diff --git a/commands/label.go b/commands/label.go index 713d9b35..f5e3a6fc 100644 --- a/commands/label.go +++ b/commands/label.go @@ -57,6 +57,8 @@ var labelCmd = &cobra.Command{ func init() { RootCmd.AddCommand(labelCmd) + labelCmd.Flags().SortFlags = false + labelCmd.Flags().BoolVarP(&labelRemove, "remove", "r", false, "Remove a label", ) -- cgit v1.2.3