fix detail view

This commit is contained in:
Florian Baumann 2023-04-25 09:05:14 +02:00
parent 96731b8fe0
commit 4bf73c4aeb

View File

@ -16,7 +16,7 @@ func init() {
cardCmd.Flags().StringVarP(&name, "name", "n", "", "Name of the card (regex compatible)") cardCmd.Flags().StringVarP(&name, "name", "n", "", "Name of the card (regex compatible)")
cardCmd.Flags().StringVarP(&oracle, "oracle", "o", "", "Contains string in card text") cardCmd.Flags().StringVarP(&oracle, "oracle", "o", "", "Contains string in card text")
cardCmd.Flags().StringVarP(&cardType, "type", "t", "", "Contains string in card type line") cardCmd.Flags().StringVarP(&cardType, "type", "t", "", "Contains string in card type line")
cardCmd.Flags().BoolVarP(&detail, "detail", "d", true, "Show details for cards (url)") cardCmd.Flags().BoolVarP(&detail, "detail", "d", false, "Show details for cards (url)")
rootCmd.AddCommand(cardCmd) rootCmd.AddCommand(cardCmd)
} }