Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
fix: notice about deprecated option replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
sipayRT authored Jan 28, 2019
1 parent 4f3f652 commit b066b16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cli/deprecations.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ function checkForRemovedOptions() {
_.forEach(REMOVED_OPTIONS_REPLACEMENTS, function(replacement, option) {
if (_.includes(process.argv, option)) {
throw new GeminiError(
util.format('Option %s is removed', option),
'Instead use ' + replacement
util.format('Option %s is removed. Instead use %s', option, replacement)
);
}
});
Expand Down

0 comments on commit b066b16

Please sign in to comment.