Skip to content

Commit

Permalink
Update rclip/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yurij Mikhalevich <[email protected]>
  • Loading branch information
ramayer and yurijmikhalevich authored Sep 30, 2021
1 parent 22f5540 commit 1959d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclip/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def top_arg_type(arg: str) -> int:
def init_arg_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser()
parser.add_argument('query')
parser.add_argument('--add', '-a', action='append', default=[], help='phrases to add to the score')
parser.add_argument('--add', '-a', action='append', default=[], help='queries to add to the "original" query')
parser.add_argument('--subtract', '--sub', '-s', action='append', default=[],
help='phrases to subtract from the score')
help='queries to subtract from the "original" query')
parser.add_argument('--top', '-t', type=top_arg_type, default=10, help='number of top results to display')
parser.add_argument('--filepath-only', '-f', action='store_true', default=False, help='outputs only filepaths')
parser.add_argument(
Expand Down

0 comments on commit 1959d1f

Please sign in to comment.