Skip to content
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

Fix minor typos in the code #64

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/cqlsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def find_zip(libprefix):
'by default the highest version supported by the server will be used.'
' Examples: "3.0.3", "3.1.0"')
parser.add_option("--protocol-version", type="int", default=None,
help='Specify a specific protcol version otherwise the client will default and downgrade as necessary')
help='Specify a specific protocol version otherwise the client will default and downgrade as necessary')

parser.add_option("-e", "--execute", help='Execute the statement and quit.')
parser.add_option("--connect-timeout", default=DEFAULT_CONNECT_TIMEOUT_SECONDS, dest='connect_timeout',
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Options:
--root /path/to/root alternative install root (default /)
--prefix /prefix directory prefix (default /usr)
--etcdir /etc specify etc directory path (default /etc)
--nonroot install Scylla without required root priviledge
--nonroot install Scylla without required root privilege
--help this helpful message
EOF
exit 1
Expand Down
2 changes: 1 addition & 1 deletion pylib/cqlshlib/copyutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -2243,7 +2243,7 @@ def __init__(self, ks, hostname, local_dc, session):

self._initialize_ring()

# Note that refresh metadata is disabled by default and we currenlty do not intercept it
# Note that refresh metadata is disabled by default and we currently do not intercept it
# If hosts are added, removed or moved during a COPY operation our token map is no longer optimal
# However we can cope with hosts going down and up since we filter for replicas that are up when
# making each batch
Expand Down
2 changes: 1 addition & 1 deletion pylib/cqlshlib/pylexotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def from_rule_defs(cls, rule_defs):
def parse_rules(cls, rulestr):
tokens, unmatched = cls.RuleSpecScanner.scan(rulestr)
if unmatched:
raise LexingError.from_text(rulestr, unmatched, msg="Syntax rules are unparseable")
raise LexingError.from_text(rulestr, unmatched, msg="Syntax rules are unparsable")
rules = {}
terminals = []
tokeniter = iter(tokens)
Expand Down