diff --git a/cmd/shogo/commands/info.go b/cmd/shogo/commands/info.go index 983c75a..7f070be 100644 --- a/cmd/shogo/commands/info.go +++ b/cmd/shogo/commands/info.go @@ -9,7 +9,6 @@ import ( // Access flags var ( - api bool profile bool ) @@ -20,13 +19,12 @@ var infoCmd = &cobra.Command{ Aliases: []string{"information"}, Run: func(_ *cobra.Command, _ []string) { utils.CheckColor() - shodan.Info(api, profile) + shodan.Info(profile) }, } func init() { // Add flags - infoCmd.PersistentFlags().BoolVarP(&api, "api", "a", false, "Show API information") infoCmd.PersistentFlags().BoolVarP(&profile, "profile", "p", false, "Show profile information") infoCmd.Flags().SortFlags = false }