From 27ab58de6a983bfc2a1d0da831eaf53fdd1c6645 Mon Sep 17 00:00:00 2001 From: Laurent Le Brun Date: Sat, 28 Jan 2023 23:01:06 +0100 Subject: [PATCH] Update version to 1.3.3 (#232) --- README.md | 11 +++++------ src/options.fs | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 269003e9..7a8e1fc4 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ $ mono shader_minifier.exe # Linux, Mac... ``` USAGE: Shader Minifier [--help] [-o ] [-v] [--hlsl] - [--format ] + [--format ] [--field-names ] [--preserve-externals] [--preserve-all-globals] [--no-inlining] [--aggressive-inlining] [--no-renaming] @@ -112,7 +112,7 @@ OPTIONS: -o Set the output filename (default is shader_code.h) -v Verbose, display additional information --hlsl Use HLSL (default is GLSL) - --format + --format Choose to format the output (use 'text' if you want just the shader) --field-names @@ -135,8 +135,7 @@ OPTIONS: --no-sequence Do not use the comma operator trick --smoothstep Use IQ's smoothstep trick --no-remove-unused Do not remove unused code - --move-declarations - Move declarations to group them + --move-declarations Move declarations to group them --help display this list of options. ``` @@ -148,8 +147,8 @@ In short: If you pass `-` for the output, it will be printed on stdout. * Use `--format` to control the output format. By default, it will create a C - header. There are other options to get only the shader, or have it in a .js or - nasm file. + header. There are other options to get only the shader, or have it in a + Javascript, Rust, or nasm file. ## Tips diff --git a/src/options.fs b/src/options.fs index 6b1ade3c..3529117a 100644 --- a/src/options.fs +++ b/src/options.fs @@ -3,7 +3,7 @@ open System.IO open Argu -let version = "1.3.2" // Shader Minifier version +let version = "1.3.3" // Shader Minifier version let debugMode = false type OutputFormat =