Searched refs:opt (Results 1 - 25 of 32) sorted by relevance

12

/pkg/src/
H A Drad-invoke.py88 for opt, arg in opts:
89 if opt == "--help" or opt == "-h":
91 elif opt == "--pargs":
93 elif opt == "--opts":
95 elif opt == "-R":
97 elif opt == "--prog-delay":
101 ).format(opt, script_path))
104 ).format(e.opt, script_path))
H A Ddepot.py285 opt = None variable
305 for opt, arg in opts:
306 if opt == "-a":
308 elif opt == "-n":
310 elif opt == "-d":
312 elif opt == "-p":
314 elif opt == "-s":
325 elif opt == "-t":
327 elif opt == "--add-content":
329 elif opt
[all...]
H A Dpublish.py166 for opt, arg in opts:
167 if opt == "--set-property":
201 for opt, arg in opts:
202 parsed.append(opt)
203 if opt == "-e":
205 if opt == "-n":
231 for opt, arg in opts:
232 parsed.append(opt)
233 if opt == "-e":
235 if opt
[all...]
H A Dsign.py136 usage(_("illegal global option -- {0}").format(e.opt))
148 for opt, arg in opts:
149 if opt == "-a":
152 elif opt == "-c":
157 elif opt == "-i":
163 elif opt == "-k":
168 elif opt == "-n":
170 elif opt == "-s":
172 elif opt == "--help":
174 elif opt
[all...]
H A Dpkgdep.py112 usage(_("illegal global option -- {0}").format(e.opt))
124 for opt, arg in opts:
125 if opt == "-d":
130 elif opt == "-D":
140 elif opt == "-I":
142 elif opt == "-k":
144 elif opt == "-m":
146 elif opt == "-M":
148 elif opt in ("--help", "-?"):
224 usage(_("illegal global option -- {0}").format(e.opt))
[all...]
H A Dpkgrepo.py222 for opt, arg in opts:
223 if opt == "-n":
225 elif opt == "-p":
227 elif opt == "-s":
340 for opt, arg in opts:
341 if opt == "-s":
403 for opt, arg in opts:
404 if opt == "-s":
406 elif opt == "-n":
408 elif opt
[all...]
H A Ddepot-config.py737 for opt, arg in opts:
738 if opt == "--help":
740 elif opt == "-h":
742 elif opt == "-c":
744 elif opt == "-s":
746 elif opt == "-l":
748 elif opt == "-p":
750 elif opt == "-r":
752 elif opt == "-T":
755 elif opt
[all...]
H A Dpull.py434 usage(_("Illegal option -- {0}").format(e.opt))
436 for opt, arg in opts:
437 if opt == "-a":
439 elif opt == "-c":
441 elif opt == "--clone":
443 elif opt == "-d":
445 elif opt == "-D" or opt == "--debug":
453 usage(_("{opt} takes argument of form "
455 opt
[all...]
H A Dclient.py2636 for opt, arg in opts:
2637 if opt == "-H":
2639 elif opt == "-c":
2641 elif opt == "-n":
2676 for opt, arg in opts:
2677 if opt == "-H":
2679 elif opt == "-n":
2846 for opt, arg in opts:
2847 if opt == "-H":
2849 elif opt
[all...]
H A Dsysrepo.py878 for opt, arg in opts:
879 if opt == "-c":
881 elif opt == "-h":
883 elif opt == "-l":
885 elif opt == "-p":
887 elif opt == "-r":
889 elif opt == "-R":
891 elif opt == "-s":
893 elif opt == "-t":
895 elif opt
[all...]
/pkg/src/tests/interactive/
H A Drunprintengine.py44 for (opt, arg) in opts:
45 if opt == '-t':
47 elif opt == '-T':
49 elif opt == '-l':
52 print("bad option {0}".format(opt), file=sys.stderr)
H A Drunprogress.py41 for (opt, arg) in opts:
42 if opt == '-f':
/pkg/src/util/log-scripts/
H A Dan_ip_active.py70 for opt, arg in opts:
71 if opt == "-a":
77 if opt == "-b":
80 if opt == "-S":
83 if opt == "-t":
86 if opt == "-w":
H A Dan_filelist.py80 for opt, arg in opts:
81 if opt == "-a":
87 if opt == "-b":
90 if opt == "-s":
93 if opt == "-w":
H A Dan_catalog.py160 for opt, arg in opts:
161 if opt == "-a":
167 if opt == "-b":
170 if opt == "-s":
173 if opt == "-w":
H A Dan_manifest.py109 for opt, arg in opts:
110 if opt == "-a":
116 if opt == "-b":
119 if opt == "-s":
122 if opt == "-w":
H A Dan_search.py164 for opt, arg in opts:
165 if opt == "-a":
171 if opt == "-b":
174 if opt == "-s":
177 if opt == "-w":
H A Dlog.py103 for opt, arg in opts:
104 if opt == "-f":
106 if opt == "-s":
/pkg/src/util/publish/
H A Dpkgmogrify.py73 for opt, arg in opts:
74 if opt == "-D":
81 if opt == "-i":
83 if opt == "-I":
85 if opt == "-O":
87 if opt == "-P":
89 if opt == "-v":
91 if opt in ("--help", "-?"):
95 usage(_("illegal global option -- {0}").format(e.opt))
H A Dpkgdiff.py79 for opt, arg in opts:
80 if opt == "-i":
82 elif opt == "-o":
84 elif opt == "-t":
86 elif opt == "-u":
88 elif opt == "-v":
96 elif opt in ("--help", "-?"):
100 usage(_("illegal global option -- {0}").format(e.opt))
H A Dpkgsurf.py690 usage(_("illegal option -- {0}").format(e.opt))
702 for opt, arg in opts:
703 if opt == "-c":
705 elif opt == "-i":
707 elif opt == "-n":
709 elif opt == "-p":
711 elif opt == "-r":
713 elif opt == "-s":
715 elif opt == "-u":
717 elif opt
[all...]
H A Dpkglint.py308 def _make_list(opt):
309 """Makes a list out of opt, and returns it."""
311 if isinstance(opt, list):
312 return opt
313 elif opt is None:
316 return [opt]
/pkg/src/util/log-rotate/
H A Dturn-logs.sh48 while getopts "e:" opt; do
49 case $opt in
/pkg/src/zoneproxy/zoneproxy-adm/
H A Dzoneproxy-adm.c80 int opt; local
84 while ((opt = getopt(argc, argv, "R")) != EOF) {
85 switch (opt) {
/pkg/src/tests/
H A Drun.py125 print("Illegal option -- {0}".format(e.opt), file=sys.stderr)
144 for opt, arg in opts:
145 if opt == "-v":
147 elif opt == "-p":
149 elif opt == "-c":
152 elif opt == "-d":
154 elif opt == "-f":
156 elif opt == "-g":
158 elif opt == "-b":
160 elif opt
[all...]

Completed in 252 milliseconds

12