Skip to content

Commit 46524fc

Browse files
committed
use underscores
1 parent 8153126 commit 46524fc

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ function app_status($app, $global) {
343343

344344
$status.outdated = $false
345345
if ($status.version -and $status.latest_version) {
346-
if (get_config 'force-update' $false) {
346+
if (get_config 'force_update' $false) {
347347
$status.outdated = ((Compare-Version -ReferenceVersion $status.version -DifferenceVersion $status.latest_version) -ne 0)
348348
} else {
349349
$status.outdated = ((Compare-Version -ReferenceVersion $status.version -DifferenceVersion $status.latest_version) -gt 0)

lib/manifest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function install_info($app, $version, $global) {
5959
}
6060

6161
function default_architecture {
62-
$arch = get_config 'default-architecture'
62+
$arch = get_config 'default_architecture'
6363
$system = if ([Environment]::Is64BitOperatingSystem) { '64bit' } else { '32bit' }
6464
if ($null -eq $arch) {
6565
$arch = $system

libexec/scoop-config.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
# * An empty or unset value for proxy is equivalent to 'default' (with no username or password)
4444
# * To bypass the system proxy and connect directly, use 'none' (with no username or password)
4545
#
46-
# default-architecture: 64bit|32bit
46+
# default_architecture: 64bit|32bit
4747
# Allow to configure preferred architecture for application installation.
4848
# If not specified, architecture is determined be system.
4949
#
5050
# debug: $true|$false
5151
# Additional and detailed output will be shown.
5252
#
53-
# force-update: $true|$false
53+
# force_update: $true|$false
5454
# Force apps updating to bucket's version.
5555
#
5656
# show_update_log: $true|$false

0 commit comments

Comments
 (0)