mirror of
				https://github.com/TomWright/dasel.git
				synced 2022-05-22 02:32:45 +03:00 
			
		
		
		
	--escape-html now defaults to false
This commit is contained in:
		| @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | ||||
|  | ||||
| - Nothing yet. | ||||
|  | ||||
| ## [v1.21.1] - 2021-09-30 | ||||
|  | ||||
| ### Changed | ||||
| - `--escape-html` flag now defaults to false. | ||||
|  | ||||
| ## [v1.21.0] - 2021-09-29 | ||||
|  | ||||
| ### Added | ||||
|   | ||||
| @@ -161,7 +161,7 @@ func deleteCommand() *cobra.Command { | ||||
| 	cmd.Flags().BoolVarP(&multiFlag, "multiple", "m", false, "Delete multiple results.") | ||||
| 	cmd.Flags().BoolVar(&mergeInputDocumentsFlag, "merge-input-documents", false, "Merge multiple input documents into an array.") | ||||
| 	cmd.Flags().BoolVarP(&compactFlag, "compact", "c", false, "Compact the output by removing all pretty-printing where possible.") | ||||
| 	cmd.Flags().BoolVar(&escapeHTMLFlag, "escape-html", true, "Escape HTML tags when writing output.") | ||||
| 	cmd.Flags().BoolVar(&escapeHTMLFlag, "escape-html", false, "Escape HTML tags when writing output.") | ||||
| 	cmd.Flags().StringVarP(&outFlag, "out", "o", "", "Output destination.") | ||||
|  | ||||
| 	_ = cmd.MarkFlagFilename("file") | ||||
|   | ||||
| @@ -316,7 +316,7 @@ func putCommand() *cobra.Command { | ||||
| 	cmd.PersistentFlags().BoolVarP(&compactFlag, "compact", "c", false, "Compact the output by removing all pretty-printing where possible.") | ||||
| 	cmd.PersistentFlags().BoolVar(&mergeInputDocumentsFlag, "merge-input-documents", false, "Merge multiple input documents into an array.") | ||||
| 	cmd.PersistentFlags().StringVarP(&valueFlag, "value", "v", "", "Value to put.") | ||||
| 	cmd.PersistentFlags().BoolVar(&escapeHTMLFlag, "escape-html", true, "Escape HTML tags when writing output.") | ||||
| 	cmd.PersistentFlags().BoolVar(&escapeHTMLFlag, "escape-html", false, "Escape HTML tags when writing output.") | ||||
|  | ||||
| 	_ = cmd.MarkPersistentFlagFilename("file") | ||||
|  | ||||
|   | ||||
| @@ -219,7 +219,7 @@ func selectCommand() *cobra.Command { | ||||
| 	cmd.Flags().StringVar(&formatTemplateFlag, "format", "", "Formatting template to use when writing results.") | ||||
| 	cmd.Flags().BoolVar(&colourFlag, "colour", false, "Print colourised output.") | ||||
| 	cmd.Flags().BoolVar(&colorFlag, "color", false, "Alias of --colour.") | ||||
| 	cmd.Flags().BoolVar(&escapeHTMLFlag, "escape-html", true, "Escape HTML tags when writing output.") | ||||
| 	cmd.Flags().BoolVar(&escapeHTMLFlag, "escape-html", false, "Escape HTML tags when writing output.") | ||||
|  | ||||
| 	_ = cmd.MarkFlagFilename("file") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tom Wright
					Tom Wright