Skip to content

Commit

Permalink
Rename install-pending-updates to apply-update
Browse files Browse the repository at this point in the history
It's more succinct, and just as clear (to us ;-).
  • Loading branch information
ctrueden committed May 7, 2024
1 parent 88fedac commit e9360f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/fiji.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ modes = [

directives = [
'--print-ij-dir|print-app-dir,ABORT', # For backwards compatibility.
'LAUNCH:JVM|install-pending-updates,INIT_THREADS',
'LAUNCH:JVM|apply-update,INIT_THREADS',
]

# /============================================================================\
Expand Down
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fun main(args: Array<String>) {
// Declare the global (runtime-agnostic) directives.
val globalDirectiveFunctions: DirectivesMap = mutableMapOf(
"help" to { _ -> help(exeFile, programName, supportedOptions) },
"install-pending-updates" to { _ -> applyUpdate(appDir, appDir / "update") }
"apply-update" to { _ -> applyUpdate(appDir, appDir / "update") }
)

// Finally, execute all the directives! \^_^/
Expand Down

0 comments on commit e9360f3

Please sign in to comment.