Skip to content

Commit

Permalink
Allow for either -t or -k to be specified alone
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKGrimes committed Aug 14, 2024
1 parent 5e54e09 commit 1812458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smax/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def main():
smax_client.smax_purge_volatile()
else:
print('Not confirmed - exiting.')
elif args.table is not None and args.key is not None:
elif args.table is not None or args.key is not None:
table, key = normalize_pair(args.table, args.key)
if args.debug:
print(f"Got {table}, key {key}")
Expand Down

0 comments on commit 1812458

Please sign in to comment.