| Index: bin/devc.dart
|
| diff --git a/bin/devc.dart b/bin/devc.dart
|
| index 255a9b9363079c25bbff1c896467f162481daa4a..91dccb9a503fbfca9dcd546260d516be32cf097d 100755
|
| --- a/bin/devc.dart
|
| +++ b/bin/devc.dart
|
| @@ -23,13 +23,14 @@ void main(List<String> args) {
|
| var options = parseOptions(args);
|
| if (options.help) _showUsageAndExit();
|
|
|
| - if (!options.useMockSdk && options.dartSdkPath == null) {
|
| + var srcOpts = options.sourceOptions;
|
| + if (!srcOpts.useMockSdk && srcOpts.dartSdkPath == null) {
|
| print('Could not automatically find dart sdk path.');
|
| print('Please pass in explicitly: --dart-sdk <path>');
|
| exit(1);
|
| }
|
|
|
| - if (options.entryPointFile == null) {
|
| + if (srcOpts.entryPointFile == null) {
|
| print('Expected filename.');
|
| _showUsageAndExit();
|
| }
|
|
|