Searched refs:pargs (Results 1 - 23 of 23) sorted by relevance

/pkg/src/tests/cli/
H A Dt_client_api.py255 pargs = "pargs_json"
257 list_input = {pargs: [], "opts_json": {}}
260 list_input = {pargs: [12], "opts_json": {}}
264 list_input = {pargs: [],
269 list_input = {pargs: [], "opts_json": {"list_upgradable":
274 list_input = {pargs: [], "opts_json": {"origins": False}}
278 list_input = {pargs: [], "opts_json": {"origins": []}}
325 pargs = "pargs_json"
327 install_input = {pargs : [], "opts_json": {}}
331 install_input = {pargs
[all...]
/pkg/src/
H A Dpublish.py165 opts, pargs = getopt.getopt(args, "", ["set-property="])
197 opts, pargs = getopt.getopt(args, "en")
211 if len(pargs) != 1:
216 t = trans.Transaction(repo_uri, pkg_name=pargs[0], xport=xport, pub=pub)
227 opts, pargs = getopt.getopt(args, "en")
241 if len(pargs) != 1:
246 t = trans.Transaction(repo_uri, pkg_name=pargs[0], xport=xport, pub=pub)
263 opts, pargs = getopt.getopt(args, "At:", ["no-index", "no-catalog"])
319 opts, pargs = getopt.getopt(fargs, "b:d:s:T:", ["fmri-in-manifest",
350 if not pargs
[all...]
H A Drad-invoke.py86 opts, pargs = getopt.getopt(sys.argv[1:],
87 "hR:?", ["help", "pargs=", "opts=", "prog-delay="])
91 elif opt == "--pargs":
108 if len(pargs) < 1:
111 return entry.rad_pkg(pargs[0], pargs_json=pargs_json,
H A Dclient.py472 def get_fmri_args(api_inst, pargs, cmd=None):
477 for pat, err, pfmri, matcher in api_inst.parse_fmri_patterns(pargs):
494 def list_inventory(op, api_inst, pargs,
521 out_json = client_api._list_inventory(op, api_inst, pargs,
1928 if "pargs" not in pwargs:
1929 pwargs["pargs"] = []
1960 def remote(op, api_inst, pargs, ctlfd):
1983 def change_variant(op, api_inst, pargs,
1995 if not pargs:
1999 for arg in pargs
5088 pargs = None variable
[all...]
H A Dpkgdep.py109 opts, pargs = getopt.getopt(args, "d:D:Ik:Mm?",
152 if len(pargs) > 2 or len(pargs) < 1:
161 manf = pargs[0]
167 if len(pargs) > 1:
168 if not os.path.isdir(pargs[1]):
170 pargs[1]), retcode=EXIT_BADOPT)
171 proto_dirs.insert(0, os.path.abspath(pargs[1]))
222 opts, pargs = getopt.getopt(args, "d:e:Emos:Sv")
246 manifest_paths = [os.path.abspath(fp) for fp in pargs]
[all...]
H A Dpkgrepo.py218 opts, pargs = getopt.getopt(args, "np:s:")
230 if not pargs:
245 matching, refs = repo.get_matching_fmris(pargs, pubs=pubs)
339 opts, pargs = getopt.getopt(args, "s:")
351 if not pargs:
356 for pfx in pargs:
366 existing = repo.publishers & set(pargs)
371 pfx for pfx in pargs
402 opts, pargs = getopt.getopt(args, "ns:", ["synchronous"])
417 if not pargs
[all...]
H A Dpull.py430 opts, pargs = getopt.getopt(sys.argv[1:], "ac:D:d:hkm:np:rs:v",
529 if clone and pargs:
559 args = (pargs, target, list_newest, all_versions,
593 def get_matches(src_pub, tracker, xport, pargs, any_unmatched, any_matched,
601 if "*" not in pargs and "*@*" not in pargs:
604 src_cat.get_matching_fmris(pargs)
756 def archive_pkgs(pargs, target, list_newest, all_versions, all_timestamps,
795 if pargs == None or len(pargs)
[all...]
H A Dsign.py133 opts, pargs = getopt.getopt(sys.argv[1:], "a:c:i:k:ns:D:",
202 if not pargs:
250 pats = pargs
H A Ddepot.py301 opts, pargs = getopt.getopt(sys.argv[1:], "a:d:np:s:t:?",
H A Ddepot-config.py733 opts, pargs = getopt.getopt(sys.argv[1:],
H A Dsysrepo.py876 opts, pargs = getopt.getopt(sys.argv[1:],
/pkg/src/modules/client/
H A Dclient_api.py465 def _get_fmri_args(api_inst, pargs, cmd=None, errors_json=None):
470 for pat, err, pfmri, matcher in api_inst.parse_fmri_patterns(pargs):
612 def _list_inventory(op, api_inst, pargs,
637 rval, res = _get_fmri_args(api_inst, pargs, cmd=op,
686 res = api_inst.get_pkg_list(pkg_list, patterns=pargs,
705 if not found and not pargs:
1447 def _exact_install(op, api_inst, pargs,
1453 if not pargs:
1458 rval, res = _get_fmri_args(api_inst, pargs, cmd=op,
1474 _parsable_version=parsable_version, pkgs_inst=pargs,
[all...]
/pkg/src/util/publish/
H A Dpkgdiff.py78 opts, pargs = getopt.getopt(sys.argv[1:], "i:o:t:uv:?", ["help"])
102 if len(pargs) != 2:
105 if (pargs[0] == "-" and pargs[1] == "-"):
134 # This assumes that both pargs are not '-'.
135 for p, m in zip(pargs, (manifest1, manifest2)):
161 for _path, v, m in zip(pargs, (v1, v2), (manifest1, manifest2)):
H A Dpkgmogrify.py72 opts, pargs = getopt.getopt(sys.argv[1:], "ivD:I:O:P:?", ["help"])
98 mog.process_mog(pargs, ignoreincludes, verbose, includes,
H A Dpkgsurf.py687 opts, pargs = getopt.getopt(sys.argv[1:], "?c:i:np:r:s:u",
720 if pargs:
721 usage(_("Unexpected argument(s): {0}").format(" ".join(pargs)))
H A Dpkgmerge.py207 opts, pargs = getopt.getopt(sys.argv[1:], "d:np:s:?",
350 if not pargs:
361 for f in pargs
367 for f in pargs
H A Dpkgfmt.py539 opts, pargs = getopt.getopt(sys.argv[1:], "cdf:u?", ["help"])
576 flist = pargs
/pkg/src/util/log-scripts/
H A Dlog.py98 opts, pargs = getopt.getopt(sys.argv[1:], "f:s:")
/pkg/src/modules/
H A Ddepotcontroller.py419 pargs = shlex.split(" ".join(args))
423 self.__depot_handle = subprocess.Popen(pargs, env=newenv,
H A Dconfig.py370 pargs = {}
372 pargs["allowed"] = self.__allowed
374 pargs["default"] = self.__default
376 pargs["value_map"] = self.__value_map
377 return self.__prop_type(name, **pargs)
H A Dmisc.py1519 opts, pargs = getopt.getopt(args, opts_s_str,
1586 return opt_dict, pargs
/pkg/src/tests/
H A Drun.py121 opts, pargs = getopt.getopt(sys.argv[1:], "a:c:dfghj:lpqtuvxb:o:s:z:",
/pkg/src/modules/client/linkedimage/
H A Dcommon.py3045 # We need to make sure we don't pass None as pargs in
3066 pargs=pkgs_update,
3103 pargs=pkgs_inst,
3137 pargs=pkgs_to_uninstall,
3184 pargs=varcets,

Completed in 81 milliseconds