Skip to content

Commit

Permalink
Reorder cli arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-Friedrich committed Feb 5, 2024
1 parent 3396245 commit e85530b
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 98 deletions.
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ CLI Usage
[-K <fields>] [-L]
[-g <glob-pattern> | --mscz | --mscx]
[-s <style-name> <value>] [--clean] [-Y <file>] [--s3]
[--s4] [--list-fonts] [--text-font <font-face>]
[--title-font <font-face>]
[--s4] [--reset-small-staffs] [--list-fonts]
[--text-font <font-face>] [--title-font <font-face>]
[--musical-symbol-font <font-face>]
[--musical-text-font <font-face>]
[--staff-space <dimension>]
Expand All @@ -429,7 +429,6 @@ CLI Usage
[--different-odd-even-footer | --no-different-odd-even-footer]
[--footer <left> <center> <right>]
[--footer-odd-even <odd-left> <even-left> <odd-center> <even-center> <odd-right> <even-right>]
[--reset-small-staffs]
[<path> ...]

The next generation command line tool to manipulate the XML based "*.mscX" and "*.mscZ" files of the notation software MuseScore.
Expand Down
4 changes: 2 additions & 2 deletions autocomplete.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



_shtab_musescore_manager_option_strings=('-h' '--help' '--print-completion' '-C' '--config-file' '-b' '--backup' '-d' '--dry-run' '--catch-errors' '-m' '--mscore' '--save-in-mscore' '-e' '--executable' '-E' '--export' '--compress' '-V' '--version' '-v' '--verbose' '-k' '--color' '--no-color' '--diff' '--print-xml' '-c' '--clean-meta' '-D' '--delete-duplicates' '-i' '--distribute-fields' '-j' '--json' '-l' '--log' '-y' '--synchronize' '-S' '--set-field' '--metatag' '--metatag-meta' '--vbox' '--vbox-meta' '--title' '--subtitle' '--composer' '--lyricist' '-x' '--extract' '--extract-lyrics' '-r' '--remap' '--remap-lyrics' '-F' '--fix' '--fix-lyrics' '--rename' '-t' '--target' '--only-filename' '-A' '--alphanum' '-a' '--ascii' '-n' '--no-whitespace' '-K' '--skip-if-empty' '-L' '--list-files' '-g' '--glob' '--mscz' '--mscx' '-s' '--style' '--clean' '-Y' '--style-file' '--s3' '--styles-v3' '--s4' '--styles-v4' '--list-fonts' '--text-font' '--title-font' '--musical-symbol-font' '--musical-text-font' '--staff-space' '--page-size' '--a4' '--din-a4' '--letter' '--margin' '--show-header' '--no-show-header' '--header-first-page' '--no-header-first-page' '--different-odd-even-header' '--no-different-odd-even-header' '--header' '--header-odd-even' '--show-footer' '--no-show-footer' '--footer-first-page' '--no-footer-first-page' '--different-odd-even-footer' '--no-different-odd-even-footer' '--footer' '--footer-odd-even' '--reset-small-staffs')
_shtab_musescore_manager_option_strings=('-h' '--help' '--print-completion' '-C' '--config-file' '-b' '--backup' '-d' '--dry-run' '--catch-errors' '-m' '--mscore' '--save-in-mscore' '-e' '--executable' '-E' '--export' '--compress' '-V' '--version' '-v' '--verbose' '-k' '--color' '--no-color' '--diff' '--print-xml' '-c' '--clean-meta' '-D' '--delete-duplicates' '-i' '--distribute-fields' '-j' '--json' '-l' '--log' '-y' '--synchronize' '-S' '--set-field' '--metatag' '--metatag-meta' '--vbox' '--vbox-meta' '--title' '--subtitle' '--composer' '--lyricist' '-x' '--extract' '--extract-lyrics' '-r' '--remap' '--remap-lyrics' '-F' '--fix' '--fix-lyrics' '--rename' '-t' '--target' '--only-filename' '-A' '--alphanum' '-a' '--ascii' '-n' '--no-whitespace' '-K' '--skip-if-empty' '-L' '--list-files' '-g' '--glob' '--mscz' '--mscx' '-s' '--style' '--clean' '-Y' '--style-file' '--s3' '--styles-v3' '--s4' '--styles-v4' '--reset-small-staffs' '--list-fonts' '--text-font' '--title-font' '--musical-symbol-font' '--musical-text-font' '--staff-space' '--page-size' '--a4' '--din-a4' '--letter' '--margin' '--show-header' '--no-show-header' '--header-first-page' '--no-header-first-page' '--different-odd-even-header' '--no-different-odd-even-header' '--header' '--header-odd-even' '--show-footer' '--no-show-footer' '--footer-first-page' '--no-footer-first-page' '--different-odd-even-footer' '--no-different-odd-even-footer' '--footer' '--footer-odd-even')

_shtab_musescore_manager_pos_0_COMPGEN=_shtab_compgen_files
_shtab_musescore_manager__C_COMPGEN=_shtab_compgen_files
Expand Down Expand Up @@ -76,6 +76,7 @@ _shtab_musescore_manager___s3_nargs=0
_shtab_musescore_manager___styles_v3_nargs=0
_shtab_musescore_manager___s4_nargs=0
_shtab_musescore_manager___styles_v4_nargs=0
_shtab_musescore_manager___reset_small_staffs_nargs=0
_shtab_musescore_manager___list_fonts_nargs=0
_shtab_musescore_manager___page_size_nargs=2
_shtab_musescore_manager___a4_nargs=0
Expand All @@ -97,7 +98,6 @@ _shtab_musescore_manager___different_odd_even_footer_nargs=0
_shtab_musescore_manager___no_different_odd_even_footer_nargs=0
_shtab_musescore_manager___footer_nargs=3
_shtab_musescore_manager___footer_odd_even_nargs=6
_shtab_musescore_manager___reset_small_staffs_nargs=0


# $1=COMP_WORDS[1]
Expand Down
2 changes: 1 addition & 1 deletion autocomplete.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ _shtab_musescore_manager_options=(
{-Y,--style-file}"[Load a \"\*.mss\" style file and include the contents of this file.]:style_file:_files"
{--s3,--styles-v3}"[List all possible version 3 styles.]"
{--s4,--styles-v4}"[List all possible version 4 styles.]"
"--reset-small-staffs[Reset all small staffs to normal size.]"
"--list-fonts[List all font related styles.]"
"--text-font[Set nearly all fonts except \“romanNumeralFontFace\”, \“figuredBassFontFace\”, \“dynamicsFontFace\“, \“musicalSymbolFont\” and \“musicalTextFont\”.]:style_text_font:"
"--title-font[Set \“titleFontFace\” and \“subTitleFontFace\”.]:style_title_font:"
Expand All @@ -78,7 +79,6 @@ _shtab_musescore_manager_options=(
{--different-odd-even-footer,--no-different-odd-even-footer}"[Use different footers for odd and even pages.]:style_different_odd_even_footer:"
"--footer[Set the footer for all pages.]:style_footer_all:"
"--footer-odd-even[Set different footers for odd and even pages.]:style_footer_odd_even:"
"--reset-small-staffs[Reset all small staffs to normal size.]"
"(*)::Path to a \"\*.msc\[zx\]\" file or a folder containing \"\*.msc\[zx\]\" files. can be specified several times.:_files"
)

Expand Down
5 changes: 2 additions & 3 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Comande line interface
[-K <fields>] [-L]
[-g <glob-pattern> | --mscz | --mscx]
[-s <style-name> <value>] [--clean] [-Y <file>] [--s3]
[--s4] [--list-fonts] [--text-font <font-face>]
[--title-font <font-face>]
[--s4] [--reset-small-staffs] [--list-fonts]
[--text-font <font-face>] [--title-font <font-face>]
[--musical-symbol-font <font-face>]
[--musical-text-font <font-face>]
[--staff-space <dimension>]
Expand All @@ -37,7 +37,6 @@ Comande line interface
[--different-odd-even-footer | --no-different-odd-even-footer]
[--footer <left> <center> <right>]
[--footer-odd-even <odd-left> <even-left> <odd-center> <even-center> <odd-right> <even-right>]
[--reset-small-staffs]
[<path> ...]

The next generation command line tool to manipulate the XML based "*.mscX" and "*.mscZ" files of the notation software MuseScore.
Expand Down
Loading

0 comments on commit e85530b

Please sign in to comment.