Searched refs:GetoptError (Results 1 – 25 of 54) sorted by relevance
123
/external/python/cpython2/Lib/ |
D | getopt.py | 38 class GetoptError(Exception): class 49 error = GetoptError # backward compatibility 156 raise GetoptError('option --%s requires argument' % opt, opt) 159 raise GetoptError('option --%s must not have an argument' % opt, opt) 169 raise GetoptError('option --%s not recognized' % opt, opt) 179 raise GetoptError('option --%s not a unique prefix' % opt, opt) 193 raise GetoptError('option -%s requires argument' % opt, 206 raise GetoptError('option -%s not recognized' % opt, opt)
|
/external/python/cpython3/Lib/ |
D | getopt.py | 43 class GetoptError(Exception): class 54 error = GetoptError # backward compatibility 161 raise GetoptError(_('option --%s requires argument') % opt, opt) 164 raise GetoptError(_('option --%s must not have an argument') % opt, opt) 174 raise GetoptError(_('option --%s not recognized') % opt, opt) 184 raise GetoptError(_('option --%s not a unique prefix') % opt, opt) 198 raise GetoptError(_('option -%s requires argument') % opt, 211 raise GetoptError(_('option -%s not recognized') % opt, opt)
|
/external/fonttools/Lib/fontTools/ |
D | ttx.py | 145 raise getopt.GetoptError("The -d option value must be an existing directory") 177 raise getopt.GetoptError( 202 raise getopt.GetoptError( 214 raise getopt.GetoptError("-q and -v options are mutually exclusive") 222 raise getopt.GetoptError("-m and --flavor options are mutually exclusive") 224 raise getopt.GetoptError("-t and -x options are mutually exclusive") 226 raise getopt.GetoptError("Must specify exactly one TTX source file when using -m") 228 raise getopt.GetoptError("--with-zopfli option requires --flavor 'woff'") 340 raise getopt.GetoptError('Must specify at least one input file') 344 raise getopt.GetoptError('File not found: "%s"' % input) [all …]
|
/external/fonttools/Tests/ttx/ |
D | ttx_test.py | 70 with self.assertRaises(getopt.GetoptError) as cm: 78 with self.assertRaises(getopt.GetoptError) as cm: 348 with pytest.raises(getopt.GetoptError): 416 with pytest.raises(getopt.GetoptError): 471 with pytest.raises(getopt.GetoptError): 496 with pytest.raises(getopt.GetoptError): 501 with pytest.raises(getopt.GetoptError): 506 with pytest.raises(getopt.GetoptError): 511 with pytest.raises(getopt.GetoptError): 516 with pytest.raises(getopt.GetoptError): [all …]
|
/external/python/cpython3/Tools/scripts/ |
D | findlinksto.py | 16 raise getopt.GetoptError('not enough arguments', None) 17 except getopt.GetoptError as msg:
|
/external/python/cpython2/Tools/scripts/ |
D | findlinksto.py | 16 raise getopt.GetoptError('not enough arguments', None) 17 except getopt.GetoptError, msg:
|
/external/scapy/scapy/tools/ |
D | check_asdis.py | 41 raise getopt.GetoptError("Missing pcap file (-i)") 43 except getopt.GetoptError as e:
|
D | UTscapy.py | 725 raise getopt.GetoptError("Unknown output format %s" % msg) 750 raise getopt.GetoptError("Unknown output format %s" % msg) 776 raise getopt.GetoptError("cannot import [%s]: %s" % (SCAPY,e)) 783 raise getopt.GetoptError("cannot import [%s]: %s" % (m,e)) 785 except getopt.GetoptError as msg:
|
/external/python/cpython2/Doc/library/ |
D | getopt.rst | 53 will not match uniquely, so :exc:`GetoptError` will be raised. 80 .. exception:: GetoptError 91 Introduced :exc:`GetoptError` as a synonym for :exc:`error`. 96 Alias for :exc:`GetoptError`; for backward compatibility. 130 except getopt.GetoptError as err:
|
/external/python/cpython3/Lib/test/ |
D | test_getopt.py | 22 self.assertRaises(getopt.GetoptError, *args, **kwargs) 181 self.assertRaises(getopt.GetoptError, getopt.getopt, ['--help='], '', ['help'])
|
/external/python/cpython3/Doc/library/ |
D | getopt.rst | 53 not match uniquely, so :exc:`GetoptError` will be raised. 78 .. exception:: GetoptError 91 Alias for :exc:`GetoptError`; for backward compatibility. 125 except getopt.GetoptError as err:
|
/external/python/cpython2/Lib/test/ |
D | test_getopt.py | 22 self.assertRaises(getopt.GetoptError, *args, **kwargs) 181 self.assertRaises(getopt.GetoptError, getopt.getopt, ['--help='], '', ['help'])
|
/external/python/cpython2/Mac/scripts/ |
D | cachersrc.py | 30 except (getopt.GetoptError, NoArgsError):
|
/external/autotest/server/samples/ |
D | run_test.srv | 23 except getopt.GetoptError, e:
|
/external/llvm-project/llvm/utils/lit/lit/builtin_commands/ |
D | cat.py | 39 except getopt.GetoptError as err:
|
/external/fonttools/MetaTools/ |
D | roundTrip.py | 71 except getopt.GetoptError:
|
/external/autotest/contrib/ |
D | modelviz.py | 183 except getopt.GetoptError, error:
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
D | p2p_flush.py | 124 except getopt.GetoptError:
|
D | p2p_disconnect.py | 124 except getopt.GetoptError:
|
D | p2p_stop_find.py | 129 except getopt.GetoptError:
|
D | p2p_listen.py | 125 except getopt.GetoptError:
|
D | p2p_find.py | 135 except getopt.GetoptError:
|
/external/cldr/tools/scripts/ |
D | cldr-svnprops-check.py | 194 except getopt.GetoptError:
|
/external/capstone/suite/cstest/ |
D | cstest_report.py | 98 except getopt.GetoptError:
|
/external/ltp/testcases/realtime/tools/ |
D | ftqviz.py | 131 except GetoptError:
|
123