/pkg/src/tests/cli/ |
H A D | t_client_api.py | 255 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 D | publish.py | 165 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 D | rad-invoke.py | 86 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 D | client.py | 472 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 D | pkgdep.py | 109 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 D | pkgrepo.py | 218 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 D | pull.py | 430 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 D | sign.py | 133 opts, pargs = getopt.getopt(sys.argv[1:], "a:c:i:k:ns:D:", 202 if not pargs: 250 pats = pargs
|
H A D | depot.py | 301 opts, pargs = getopt.getopt(sys.argv[1:], "a:d:np:s:t:?",
|
H A D | depot-config.py | 733 opts, pargs = getopt.getopt(sys.argv[1:],
|
H A D | sysrepo.py | 876 opts, pargs = getopt.getopt(sys.argv[1:],
|
/pkg/src/modules/client/ |
H A D | client_api.py | 465 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 D | pkgdiff.py | 78 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 D | pkgmogrify.py | 72 opts, pargs = getopt.getopt(sys.argv[1:], "ivD:I:O:P:?", ["help"]) 98 mog.process_mog(pargs, ignoreincludes, verbose, includes,
|
H A D | pkgsurf.py | 687 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 D | pkgmerge.py | 207 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 D | pkgfmt.py | 539 opts, pargs = getopt.getopt(sys.argv[1:], "cdf:u?", ["help"]) 576 flist = pargs
|
/pkg/src/util/log-scripts/ |
H A D | log.py | 98 opts, pargs = getopt.getopt(sys.argv[1:], "f:s:")
|
/pkg/src/modules/ |
H A D | depotcontroller.py | 419 pargs = shlex.split(" ".join(args)) 423 self.__depot_handle = subprocess.Popen(pargs, env=newenv,
|
H A D | config.py | 370 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 D | misc.py | 1519 opts, pargs = getopt.getopt(args, opts_s_str, 1586 return opt_dict, pargs
|
/pkg/src/tests/ |
H A D | run.py | 121 opts, pargs = getopt.getopt(sys.argv[1:], "a:c:dfghj:lpqtuvxb:o:s:z:",
|
/pkg/src/modules/client/linkedimage/ |
H A D | common.py | 3045 # 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,
|