Этот коммит содержится в:
Ben Schumacher
2019-10-29 07:45:09 +01:00
коммит произвёл GitHub
родитель d7649fbf31
Коммит 7a665aacdd
16 изменённых файлов: 33 добавлений и 47 удалений

Просмотреть файл

@@ -153,7 +153,7 @@ func createCommandCmdF(command *cobra.Command, args []string) error {
autocompleteHint, _ := command.Flags().GetString("autocompleteHint")
post, errp := command.Flags().GetBool("post")
method := "P"
if errp != nil || post == false {
if errp != nil || !post {
method = "G"
}
@@ -371,7 +371,7 @@ func modifyCommandCmdF(command *cobra.Command, args []string) error {
post, err := command.Flags().GetBool("post")
method := "P"
if err != nil || post == false {
if err != nil || !post {
method = "G"
}
modifiedCommand.Method = method