From 1138cb33684e5f60b9a5a30828b6f1e713326fc3 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Fri, 27 Nov 2026 00:35:14 +0000 Subject: [PATCH] docs: name `submit` for `--variant` The options row described `--variant` before an easyconfig. `submit` keeps the option and puts it on the batch command. Another command refuses the option. --- changelog.d/+variant-submit-carveout.doc.md | 1 + docs/orgmode/reference/cli.org | 2 +- docs/reference/cli.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/+variant-submit-carveout.doc.md diff --git a/changelog.d/+variant-submit-carveout.doc.md b/changelog.d/+variant-submit-carveout.doc.md new file mode 100644 index 0000000..2eb462d --- /dev/null +++ b/changelog.d/+variant-submit-carveout.doc.md @@ -0,0 +1 @@ +Document in the command reference that `--variant` is accepted before an easyconfig and before `submit`. `submit` keeps the option and puts it on the batch command. Another command refuses it. diff --git a/docs/orgmode/reference/cli.org b/docs/orgmode/reference/cli.org index 8ccedb2..715bd85 100644 --- a/docs/orgmode/reference/cli.org +++ b/docs/orgmode/reference/cli.org @@ -228,7 +228,7 @@ After =eb=, every word goes to =eb= except =-h= and =--help=; after =eb --=, eve | =--workstation= | Force managed recipe builds to use private local workspace storage on this machine, even when Slurm is present. | | =--config FILE= | Read FILE in place of the site file when root or the owner of this program owns it; otherwise in place of =~/.config/eb-local/config.toml=, when you own it. The other file is still read. | | =--explain= | Before an easyconfig, or before =eb=: print what would run, and create and run nothing. | -| =--variant NAME= | Before an easyconfig: build it as the =perf= or =debug= variant, described in the =--variant= section below. | +| =--variant NAME= | Before an easyconfig: build it as the =perf= or =debug= variant, described in the =--variant= section below. Before =submit=: =submit= keeps the option and puts it on the batch command. Another command refuses it. | | =-h=, =--help=, =help= | Print the usage on stdout and exit 0. | | =--version= | Print the version line on stdout and exit 0. | | =--json= | On =list=, =check=, =doctor=, =modulerc=, =clean=, =config=, =profiles=, and =site list=: print one line of JSON with =schema_version= 1 on stdout instead of the text report. Not with =config --env= or =config --get=. | diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 2549cec..ccbf70c 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -230,7 +230,7 @@ After `eb`, every word goes to `eb` except `-h` and `--help`; after `eb --`, eve | `--workstation` | Force managed recipe builds to use private local workspace storage on this machine, even when Slurm is present. | | `--config FILE` | Read FILE in place of the site file when root or the owner of this program owns it; otherwise in place of `~/.config/eb-local/config.toml`, when you own it. The other file is still read. | | `--explain` | Before an easyconfig, or before `eb`: print what would run, and create and run nothing. | -| `--variant NAME` | Before an easyconfig: build it as the `perf` or `debug` variant, described in the `--variant` section below. | +| `--variant NAME` | Before an easyconfig: build it as the `perf` or `debug` variant, described in the `--variant` section below. Before `submit`: `submit` keeps the option and puts it on the batch command. Another command refuses it. | | `-h`, `--help`, `help` | Print the usage on stdout and exit 0. | | `--version` | Print the version line on stdout and exit 0. | | `--json` | On `list`, `check`, `doctor`, `modulerc`, `clean`, `config`, `profiles`, and `site list`: print one line of JSON with `schema_version` 1 on stdout instead of the text report. Not with `config --env` or `config --get`. |