Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Fixed error in help message for -p arg
Browse files Browse the repository at this point in the history
  • Loading branch information
carlashley committed Jun 21, 2023
1 parent 8ac934d commit e5c1ba9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Licensed under the Apache License Version 2.0. See `LICENSE` for the full licens

## Usage
```
usage: loopdown [-h] [--advanced-help] [-n] [-a [app] [[app] ...] | -p [path|url] [[path|url] ...]] [-m] [-o] [--cache-server [server]] [--pkg-server [server]]
[--create-mirror [path] | -i] [--force] [-s] [--log-level [level]] [--version]
usage: loopdown [-h] [--advanced-help] [-n] [-a [app] [[app] ...] | -p [plist] [[plist] ...]] [-m] [-o] [--cache-server [server]] [--pkg-server [server]] [--create-mirror [path] |
-i] [--force] [-s] [--log-level [level]] [--version]
options:
-h, --help show this help message and exit
Expand All @@ -26,9 +26,9 @@ options:
-a [app] [[app] ...], --apps [app] [[app] ...]
application/s to process package content from; valid values are 'all', 'garageband', 'logicpro', 'mainstage', selecting 'all' will process packages for
any/all of the three apps if found on the target device; note that the -p/--plist argument cannot be used with this argument
-p [path|url] [[path|url] ...], --plist [path|url] [[path|url] ...]
-p [plist] [[plist] ...], --plist [plist] [[plist] ...]
property list/s to process package content from in the absence of an installed application; note that the -a/--apps argument cannot be used with this
argument
argument, use '--discover-plists' to discover available property lists
-m, --mandatory select all mandatory packages for processing; this and/or the -o/--optional argument is required
-o, --optional select all optional packages for processing; this and/or the -m/--mandatory argument is required
--cache-server [server]
Expand Down
Binary file modified loopdown
Binary file not shown.
5 changes: 3 additions & 2 deletions src/ldilib/clargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@ def arguments(args: Optional[list] = None) -> argparse.Namespace:
"--plist",
nargs="+",
dest="plists",
metavar="[path|url]",
metavar="[plist]",
required=False,
help=(
"property list/s to process package content from in the absence of an installed application;"
" note that the -a/--apps argument cannot be used with this argument"
" note that the -a/--apps argument cannot be used with this argument, use '--discover-plists' to"
" discover available property lists"
),
)

Expand Down

0 comments on commit e5c1ba9

Please sign in to comment.