From e5c1ba92ce7d5f6f9d4a5d4d51279a5b0d8e8de7 Mon Sep 17 00:00:00 2001 From: carlashley Date: Wed, 21 Jun 2023 20:57:16 +1000 Subject: [PATCH] Fixed error in help message for -p arg --- README.md | 8 ++++---- loopdown | Bin 16499 -> 16524 bytes src/ldilib/clargs.py | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2c614c1..4ffbd35 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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] diff --git a/loopdown b/loopdown index 362eeb4804705894422aad26aef11ea7698ae656..43baf3c8b059f742627a5095c73cd0f889e6a24d 100755 GIT binary patch delta 3687 zcmV-t4w&)tfB}qw0kEJC4IQV|R&O(XrV9=L0KJo~4=;av*8|$!MbiZiSOfws(KauV zsESe&B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afoX}+5T*LCi+Za&%`fHV^Hh=cygmz& zf0Sk&@H>k3HoasZDih5{qV0cy_;#E+*i)t=Z<-Zn?0fe7v{`SPv>?^XD>^(a)D`%UhSC5McdYAELX-Ip>VQMqc?L_ zD6Q#H1(MxZWh<9w(_5&h}_7bs>+cF3nHZ z!3}o)-kvgnXFnw?rRIMD@TG{^6{|zJ>^%0;G0%=QHELeXchg1{A4;v~GzO$wLjsSl z1#p))t$6L@`M6b`vYW}AO-wb>Q^VP9M^R`~|J?25VGayr*Drvae=ak7g`log^D@8p{$2b`;0L|InNc9)kWz?k8A=sWC67y4UivyqM zOb2+{ZEeB)h;MhW8!6NNrbo(Pj~qs2(Q8J79bg*kHlVGUA&hCFjM>jvdb~c!Z=dIV zz8_-B2sgUP;m3dGhRU(vY&waw=_s67zVtoY6EVd5a0}T{d_s0mjwACptrP6Mqi@(u z1!nH|UXHY~J|4SliunreNSeL~Fjr~&jRJjB2B{^NoojG&1h|R0+X6L6qWSmQI9)U0 z+dqCoYXE;~H-wz^N+x)pfLQ{hQ#!B+(#mE{lgu{0xNU!!ZQSj+&*`r|Gb3K}2a@Bu ze%$%TT2dXae&?4kgw2i!(L1lm6HOn!P!ME7~U_nP#GfqYLBz#vmrb^HBI z7i#w?xgq`*>D{b3%oa!t^EtzUuQRk!OeYNhY=|)I`!j<22+nw%+1A~;YbQ`N0kS6W zFaIzB7n5K^`s4cCQdD(mH2dVgP)h>@6aWAK2mrI$9Wfyd#--I(@_wN6@(ln0bCVZ8 pPXV@*XFopyxRa+pJ^^l%=080F43i{4JOMnDVL&AY`aJ*u006G>^OFDo diff --git a/src/ldilib/clargs.py b/src/ldilib/clargs.py index 4253eef..6e2c6f2 100644 --- a/src/ldilib/clargs.py +++ b/src/ldilib/clargs.py @@ -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" ), )