Repository navigation
Make jetdb export -d reject a delimiter that is not one character - #170
Merged
Merged
Conversation
…ecting it - Make jetdb export -d with an empty or longer value fail with an error with the jetdb: prefix and exit 1 - It used to use , for an empty value, and to warn and use the first character of a longer one - Test that an empty, a two-character and a shell "\t" (a backslash and t) delimiter are errors, and that a wide single character works - State in docs/cli in English and Japanese that the delimiter is one character, and give the tab example as -d $'\t' Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor 37dabe8. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
jetdb export -dwith an empty or longer value now printsjetdb: delimiter must be one character, got '<value>'and exits 1. It used to use,for an empty value and to warn and use the first character of a longer one, so-d "\t"in a shell gave output delimited by a backslash.jetdb:prefix and exit code 1 of the other errors.-d $'\t'(bash and zsh).🤖 Generated with Claude Code