mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 08:25:23 +01:00
fish: complete files in more places
This commit is contained in:
parent
0e5c64a766
commit
958b36b298
2 changed files with 8 additions and 6 deletions
|
|
@ -183,16 +183,16 @@ def get_basic_beet_options():
|
|||
BL_NEED2.format("-l format-item", "-f -d 'print with custom format'")
|
||||
+ BL_NEED2.format("-l format-album", "-f -d 'print with custom format'")
|
||||
+ BL_NEED2.format(
|
||||
"-s l -l library", "-f -r -d 'library database file to use'"
|
||||
"-s l -l library", "-F -r -d 'library database file to use'"
|
||||
)
|
||||
+ BL_NEED2.format(
|
||||
"-s d -l directory", "-f -r -d 'destination music directory'"
|
||||
"-s d -l directory", "-F -r -d 'destination music directory'"
|
||||
)
|
||||
+ BL_NEED2.format(
|
||||
"-s v -l verbose", "-f -d 'print debugging information'"
|
||||
)
|
||||
+ BL_NEED2.format(
|
||||
"-s c -l config", "-f -r -d 'path to configuration file'"
|
||||
"-s c -l config", "-F -r -d 'path to configuration file'"
|
||||
)
|
||||
+ BL_NEED2.format(
|
||||
"-s h -l help", "-f -d 'print this help message and exit'"
|
||||
|
|
@ -216,7 +216,7 @@ def get_subcommands(cmd_name_and_help, nobasicfields, extravalues):
|
|||
word += BL_USE3.format(
|
||||
cmdname,
|
||||
f"-a {wrap('$FIELDS')}",
|
||||
f"-f -d {wrap('fieldname')}",
|
||||
f"-d {wrap('fieldname')}",
|
||||
)
|
||||
|
||||
if extravalues:
|
||||
|
|
@ -270,7 +270,7 @@ def get_all_commands(beetcmds):
|
|||
word += " ".join(
|
||||
BL_USE3.format(
|
||||
name,
|
||||
f"{cmd_need_arg}{cmd_s}{cmd_l} -f {cmd_arglist}",
|
||||
f"{cmd_need_arg}{cmd_s}{cmd_l} {cmd_arglist}",
|
||||
cmd_helpstr,
|
||||
).split()
|
||||
)
|
||||
|
|
@ -278,7 +278,7 @@ def get_all_commands(beetcmds):
|
|||
|
||||
word = word + BL_USE3.format(
|
||||
name,
|
||||
"-s h -l help -f",
|
||||
"-s h -l help",
|
||||
f"-d {wrap('print help')}",
|
||||
)
|
||||
return word
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ New features:
|
|||
the ``clearart_on_import`` config option. Also, ``beet clearart`` is only
|
||||
going to update the files matching the query and with an embedded art, leaving
|
||||
untouched the files without.
|
||||
- :doc:`plugins/fish`: Filenames are now completed in more places, like after
|
||||
``beet import``.
|
||||
|
||||
Bug fixes:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue