Skip to content

Commit

Permalink
docs: Improve help and completion strings for '-p'
Browse files Browse the repository at this point in the history
  • Loading branch information
badshah400 committed Mar 15, 2024
1 parent 113bb52 commit 8eb27be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tartex/_parse_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def parse_args(args):
"-p",
"--packages",
action="store_true",
help="add json file listing TeX packages used",
help="add names of used (La)TeX packages as a json file",
)

parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion src/tartex/data/tartex-completion.fish
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ complete -c tartex -s V -l Version -d "display tartex version and exit"
complete -c tartex -f -s b -l bib -d "include bibliography (.bib) file in tar"
complete -c tartex -f -s F -l force-recompile -d "force recompilation even if .fls exists"
complete -c tartex -f -s l -l list -d "print a list of files to include and quit"
complete -c tartex -f -s p -l packages -d "print used (La)TeX packages as json"
complete -c tartex -f -s p -l packages -d "add names of used (La)TeX packages as a json file"
complete -c tartex -f -s s -l summary -d "print a summary at the end"
complete -c tartex -f -s v -l verbose -d "increase verbosity (-v, -vv, etc.)"

Expand Down
2 changes: 1 addition & 1 deletion src/tartex/data/tartex-completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _arguments -s -S \
'(- : *)'{-V,--version}'[print tartex version and exit]' \
'(completions -a --add)'{-a,--add=}'[include additional file names matching glob-style PATTERNS]:PATTERNS:_files' \
'(completions -b --bib)'{-b,--bib}'[find and add bib file to tarball]' \
'(completions -p --packages)'{-p,--packages}'[print System and Local latex packages used]' \
'(completions -p --packages)'{-p,--packages}'[add names of used (La)TeX packages as a json file]' \
'(completions -s --summary)'{-s,--summary}'[print a summary at the end]' \
'*'{-v,--verbose}'[increase verbosity (-v, -vv, etc.)]' \
'(completions -x --excl)'{-x,--excl=}'[exclude file names matching PATTERNS]:PATTERNS:_files' \
Expand Down

0 comments on commit 8eb27be

Please sign in to comment.