diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7829dd9514..0ef253b628 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -12,7 +12,7 @@ A clear and concise description of what the bug is, a screenshot helps a lot. **To Reproduce** Steps to reproduce the behavior: - 1. Open the file using `f3d --dry-run example.glb` + 1. Open the file using `f3d --no-config example.glb` 2. step 2 3. step 3 diff --git a/application/F3DOptionsTools.h b/application/F3DOptionsTools.h index 3905621bee..f0dfa8878d 100644 --- a/application/F3DOptionsTools.h +++ b/application/F3DOptionsTools.h @@ -29,7 +29,7 @@ static inline const OptionsDict DefaultAppOptions = { { "output", "" }, { "no-background", "false" }, { "config", "" }, - { "dry-run", "false" }, + { "no-config", "false" }, { "no-render", "false" }, { "rendering-backend", "auto" }, { "max-size", "-1.0" }, diff --git a/application/testing/CMakeLists.txt b/application/testing/CMakeLists.txt index 58abc6466f..6bc8e184a0 100644 --- a/application/testing/CMakeLists.txt +++ b/application/testing/CMakeLists.txt @@ -1037,8 +1037,8 @@ endif() f3d_test(NAME TestRenderingBackendInvalid DATA cow.vtp RENDERING_BACKEND invalid ARGS --verbose REGEXP "rendering-backend value is invalid, falling back to" NO_BASELINE) # Test that f3d can try to read a system config file -add_test(NAME f3d::TestNoDryRun COMMAND $ --no-render) -set_tests_properties(f3d::TestNoDryRun PROPERTIES TIMEOUT 4) +add_test(NAME f3d::TestNoNoRender COMMAND $ --no-render) +set_tests_properties(f3d::TestNoNoRender PROPERTIES TIMEOUT 4) # Test invalid CLI args add_test(NAME f3d::TestInvalidCLIArgs COMMAND $ --up) diff --git a/doc/user/CONFIGURATION_FILE.md b/doc/user/CONFIGURATION_FILE.md index 6d6a0d3324..fbe7bddaf4 100644 --- a/doc/user/CONFIGURATION_FILE.md +++ b/doc/user/CONFIGURATION_FILE.md @@ -55,7 +55,7 @@ F3D provides a default config directory for generic usage (`config.d`) and a thu You can edit the file contained in these directory or add your own in specific directories (see below). The following options cannot be set via config file: -`help`, `version`, `readers-list`, `config`, `dry-run` and `input`. +`help`, `version`, `readers-list`, `config`, `no-config` and `input`. The following options are only taken on the first load: `no-render`, `output`, and all testing options. diff --git a/doc/user/OPTIONS.md b/doc/user/OPTIONS.md index 906256d082..b9df555c51 100644 --- a/doc/user/OPTIONS.md +++ b/doc/user/OPTIONS.md @@ -15,7 +15,7 @@ Options|Default|Description \-\-version||Show *version* information and exit. Ignore `--verbose`. \-\-readers-list||List available *readers* and exit. Ignore `--verbose`. \-\-config=\|config|Specify the [configuration file](CONFIGURATION_FILE.md) to use. Supports absolute/relative path but also filename/filestem to search for in standard configuration file locations. -\-\-dry-run||Do not read any configuration file and consider only the command line options. +\-\-no-config||Do not read any configuration file and consider only the command line options. \-\-no-render||Do not render anything and quit just after loading the first file, use with \-\-verbose to recover information about a file. \-\-max-size=\|-1|Prevent F3D to load a file bigger than the provided size in Mib, negative value means unlimited, useful for thumbnails. \-\-watch||Watch current file and automatically reload it whenever it is modified on disk.