Skip to content

Commit ed055db

Browse files
authored
Fallback doc fix (#806)
1 parent e1bd688 commit ed055db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/sections/user_guide/cli/tools/fs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ The ``hardlink`` action stages items in a target directory by creating hardlinks
194194
* Items the user does not have write permission to
195195
* Directories
196196

197-
* If a hardlink cannot be created but the ``--symlink-fallback`` option is specified, a symlink will be created instead, if possible.
197+
* If a hardlink cannot be created but the ``--fallback`` option is specified, a copy (given ``--fallback copy``) or a symlink (given ``--fallback symlink``) will be created instead, if possible.
198198

199199
.. literalinclude:: fs/hardlink-help.cmd
200200
:language: text

notebooks/config.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
" If ``total`` is ``True``, an exception will be raised if any Jinja2 variables/expressions cannot be\n",
365365
" rendered. Otherwise, such variables/expressions will be passed through unchanged in the output.\n",
366366
" \n",
367-
" Recognized file extensions are: ini, nml, sh, yaml\n",
367+
" Recognized file extensions are: ``ini``, ``nml``, ``sh``, ``yaml``\n",
368368
" \n",
369369
" :param input_config: Input config file (``None`` => read ``stdin``).\n",
370370
" :param input_format: Input config format (default: deduced from filename extension; ``yaml`` if that fails).\n",
@@ -1003,7 +1003,7 @@
10031003
"compare(path1: 'Path | str', path2: 'Path | str', format1: 'str | None' = None, format2: 'str | None' = None) -> 'bool'\n",
10041004
" Compare two config files.\n",
10051005
" \n",
1006-
" Recognized file extensions are: ini, nml, sh, yaml\n",
1006+
" Recognized file extensions are: ``ini``, ``nml``, ``sh``, ``yaml``\n",
10071007
" \n",
10081008
" :param path1: Path to 1st config file.\n",
10091009
" :param path2: Path to 2nd config file.\n",

0 commit comments

Comments
 (0)