Skip to content

Commit

Permalink
2.9.026
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmanjacobd committed Aug 18, 2024
1 parent b5a6192 commit d7c0001
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ To stop playing press Ctrl+C in either the terminal or mpv
<details><summary>List all subcommands</summary>

$ library
library (v2.9.025; 82 subcommands)
library (v2.9.026; 82 subcommands)

Create database subcommands:
╭─────────────────┬──────────────────────────────────────────╮
Expand Down
2 changes: 1 addition & 1 deletion xklb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from xklb.utils import argparse_utils, iterables
from xklb.utils.log_utils import log

__version__ = "2.9.025"
__version__ = "2.9.026"

progs = {
"Create database subcommands": {
Expand Down
1 change: 1 addition & 0 deletions xklb/createdb/web_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def parse_args(action, **kwargs):
parser.add_argument("--hash", action="store_true")
parser.add_argument(
"--sizes",
"--size",
action="append",
help="Only grab extended metadata for files of specific sizes (uses the same syntax as fd-find)",
)
Expand Down
3 changes: 3 additions & 0 deletions xklb/folders/mergerfs_cp.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@

def parse_args():
parser = argparse_utils.ArgumentParser(usage=usage.mergerfs_cp)
parser.add_argument(
"--modify-depth", "-Dm", "-mD", action=argparse_utils.ArgparseSlice, help="Trim path parts from each source"
)
arggroups.clobber(parser)
parser.set_defaults(file_over_file="delete-dest-hash rename-dest")
arggroups.debug(parser)
Expand Down
1 change: 1 addition & 0 deletions xklb/utils/arggroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ def sql_fs(parent_parser):

parse_fs.add_argument(
"--sizes",
"--size",
"-S",
action="append",
help="""Constrain media to file sizes (uses the same syntax as fd-find)
Expand Down

0 comments on commit d7c0001

Please sign in to comment.