Skip to content

Commit 2061c71

Browse files
authored
Merge pull request #7606 from ptkato/v2-configure-docs-fix
Fix mentions of overwrite and backup flags for v2-configure
2 parents 3667408 + 91a388c commit 2061c71

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

changelog.d/pr-7402

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ issues: #5591 #7180 #7405
66
description: {
77

88
- Removes the --dry-run part of the v2-configure command
9-
- Adds an --append flag to v2-configure, which allows new configuration to be appended to the old config file
10-
- Adds a --backup flag to v2-configure, which enables the backup feature for the config file
11-
- Includes unit tests for everything
9+
- Adds --enable-append and --disable-append flags to v2-configure, which toggle the option for the new configuration to be appended to the old config file
10+
- Adds --enable-backup and --disable-backup flags to v2-configure, which toggle the backup feature for the configuration file
1211

1312
}

doc/cabal-commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ by simply overwriting it all. Overwriting is the default behaviour, as
4848
such, there's a flag ``--enable-append`` to append the new configurations
4949
instead. Since overwriting is rather destructive in nature, a backup system
5050
is in place, which moves the old configuration to a ``cabal.project.local~``
51-
file, this feature can also be disabled by using the ``--enable-backup``
51+
file, this feature can also be disabled by using the ``--disable-backup``
5252
flag.
5353

5454
cabal v2-update

0 commit comments

Comments
 (0)