-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli-repl): fix files as positional arguments and add --file MONG…
…OSH-769 (#890) - If the first positional argument ends in .mongodb or .js and is not a connection string, treat it as a filename. - Add a `--file` (`-f`) flag for specifying filenames that avoids this ambiguity. - Internally, avoid referring to positional arguments in general and be specific about whether the connection specifier or the filenames are being accessed - As drive-by fixes, fix the spelling of `tlsAllowInvalidHostname` and drop the extra unnecessary `start` argument handling.
- Loading branch information
Showing
12 changed files
with
728 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.