This commit is contained in:
Ben Irvin 2023-02-02 17:15:37 +01:00
parent 04f36c71b1
commit ac600ed0dc

View File

@ -298,7 +298,7 @@ program
.addOption(excludeOption) .addOption(excludeOption)
.addOption(onlyOption) .addOption(onlyOption)
.hook('preAction', validateExcludeOnly) .hook('preAction', validateExcludeOnly)
// If --from is used, valudate the URL and token // If --from is used, validate the URL and token
.hook( .hook(
'preAction', 'preAction',
ifOptions( ifOptions(
@ -314,7 +314,7 @@ program
} }
) )
) )
// If --to is used, valudate the URL, token, and confirm restore // If --to is used, validate the URL, token, and confirm restore
.hook( .hook(
'preAction', 'preAction',
ifOptions( ifOptions(