-
Notifications
You must be signed in to change notification settings - Fork 20.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blsync does not expand tilde for home #30304
Comments
tildes are expanded by your shell, nowhere else. So it's nothing geth does or doesn't do, your shell should have expanded it before it reached us. It's out of our hands. |
See here:
If you use the |
Right, but this also works: $ go run ./cmd/geth attach --datadir=~/.ethereum/sepolia So I feel like blsync isn't consistent? |
Ah, you are right. So the datadir uses // DirectoryFlag is custom cli.Flag type which expand the received string to an absolute path.
// e.g. ~/.ethereum -> /home/username/.ethereum So ok, I agree, let's change |
There exists an |
FYI, cli v3 dropped the path flag. |
closes #30304 We already use `DirectoryFlag` for `authrpc.jwtsecret` which expands the tilde, so this should work out of the box
I think the following should work:
The text was updated successfully, but these errors were encountered: