Skip to content

Commit

Permalink
Improved error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszj committed Dec 23, 2014
1 parent 64fba15 commit 8ecb0b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acextract.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@
967178EC1A497C0F00A2490F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
967178F01A497C0F00A2490F /* Build configuration list for PBXNativeTarget "iOSTestApp WatchKit Extension" */ = {
isa = XCConfigurationList;
Expand All @@ -865,6 +866,7 @@
967178EA1A497C0F00A2490F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
968FAAE11A48C1500083A943 /* Build configuration list for PBXNativeTarget "iOSTestApp" */ = {
isa = XCConfigurationList;
Expand Down
2 changes: 2 additions & 0 deletions acextract/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if !success {
// Print help screen.
if cli_help.value {
cli.printUsage()
exit(EX_OK)
}
// List or extract assets catalog.
else if let input = cli_input.value {
Expand All @@ -62,5 +63,6 @@ else if let input = cli_input.value {
// Cannot create catalog reader.
else {
cli.printUsage()
exit(EX_USAGE)
}
}

0 comments on commit 8ecb0b3

Please sign in to comment.