Skip to content

Commit

Permalink
Fix minor typos in the code
Browse files Browse the repository at this point in the history
Very few typos in the code, fix'em.
Fixes: #63
Signed-off-by: Yaniv Kaul <[email protected]>
  • Loading branch information
mykaul authored and fruch committed Dec 10, 2023
1 parent 1e43c1e commit a7c31c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit a7c31c0

Please sign in to comment.